X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=fc-cat%2FMakefile.am;h=58745959170e1c9f4a5ac630d6cee18c591b71ef;hb=HEAD;hp=1730641b1565bbe2a98d2060ad4c253f4a252164;hpb=86abd75965f598dba79a3df68e7bc4c5082a5764;p=fontconfig.git diff --git a/fc-cat/Makefile.am b/fc-cat/Makefile.am index 1730641..5874595 100644 --- a/fc-cat/Makefile.am +++ b/fc-cat/Makefile.am @@ -1,5 +1,5 @@ # -# $Id$ +# fontconfig/fc-cat/Makefile.am # # Copyright © 2003 Keith Packard # @@ -7,15 +7,15 @@ # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that # copyright notice and this permission notice appear in supporting -# documentation, and that the name of Keith Packard not be used in +# documentation, and that the name of the author(s) not be used in # advertising or publicity pertaining to distribution of the software without -# specific, written prior permission. Keith Packard makes no +# specific, written prior permission. The authors make no # representations about the suitability of this software for any purpose. It # is provided "as is" without express or implied warranty. # -# KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO -# EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR +# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, # DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR @@ -27,24 +27,26 @@ FC_CAT_SRC=${top_srcdir}/fc-cat SGML = ${FC_CAT_SRC}/fc-cat.sgml -AM_CPPFLAGS = -DPKGCACHEDIR='"${pkgcachedir}"' - -INCLUDES=-I${top_srcdir} $(FREETYPE_CFLAGS) +INCLUDES=-I${top_srcdir} $(WARN_CFLAGS) bin_PROGRAMS=fc-cat -EXTRA_DIST=fc-cat.sgml +BUILT_MANS=fc-cat.1 -fc_cat_LDADD = $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) ${top_builddir}/src/libfontconfig.la +if ENABLE_DOCS +man_MANS=${BUILT_MANS} +endif -if USEDOCBOOK +EXTRA_DIST=fc-cat.sgml ${BUILT_MANS} -man_MANS=fc-cat.1 +fc_cat_LDADD = ${top_builddir}/src/libfontconfig.la + +if USEDOCBOOK ${man_MANS}: ${SGML} $(RM) $@ $(DOC2MAN) ${SGML} - $(RM) manpage.refs manpage.links + $(RM) manpage.* all-local: $(man_MANS)