X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=fc-list%2FMakefile.am;h=55a8e4d654e797a53e22ee341cae36282134c231;hb=98d765a53ba33d28283e499ebd1098d27cbe6d02;hp=f9390d03a37c51e981dd04a2703fd8d7de59f987;hpb=20fa60c9ae5923487c80ef0449e869a30a8ddc19;p=fontconfig.git diff --git a/fc-list/Makefile.am b/fc-list/Makefile.am index f9390d0..55a8e4d 100644 --- a/fc-list/Makefile.am +++ b/fc-list/Makefile.am @@ -1,7 +1,7 @@ # -# $Id$ +# fontconfig/fc-list/Makefile.am # -# Copyright © 2003 Keith Packard +# Copyright © 2003 Keith Packard # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that @@ -21,8 +21,39 @@ # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. +DOC2MAN = docbook2man + +FC_LIST_SRC=${top_srcdir}/fc-list + +SGML = ${FC_LIST_SRC}/fc-list.sgml + bin_PROGRAMS=fc-list -INCLUDES=$(FREETYPE_CFLAGS) +INCLUDES=-I${top_srcdir} $(WARN_CFLAGS) + +BUILT_MANS=fc-list.1 + +if ENABLE_DOCS +man_MANS=${BUILT_MANS} +endif + +EXTRA_DIST=fc-list.sgml $(BUILT_MANS) + +fc_list_LDADD = ${top_builddir}/src/libfontconfig.la + +if USEDOCBOOK + +${man_MANS}: ${SGML} + $(RM) $@ + $(DOC2MAN) ${SGML} + $(RM) manpage.* + +all-local: $(man_MANS) + +clean-local: + $(RM) $(man_MANS) -fc_list_LDADD = ../src/libfontconfig.la +else +all-local: +clean-local: +endif