For systems on whch DOCBOOK is unavailable, distribute command line program
manual pages in .man format.
bin_PROGRAMS=fc-cache
-EXTRA_DIST=fc-cache.sgml
+man_MANS=fc-cache.1
+
+EXTRA_DIST=fc-cache.sgml $(man_MANS)
fc_cache_LDADD = $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK
-man_MANS=fc-cache.1
-
${man_MANS}: ${SGML}
$(RM) $@
$(DOC2MAN) ${SGML}
bin_PROGRAMS=fc-cat
-EXTRA_DIST=fc-cat.sgml
+man_MANS=fc-cat.1
+
+EXTRA_DIST=fc-cat.sgml fc-cat.1
fc_cat_LDADD = $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK
-man_MANS=fc-cat.1
-
${man_MANS}: ${SGML}
$(RM) $@
$(DOC2MAN) ${SGML}
INCLUDES=-I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-EXTRA_DIST=fc-list.sgml
+man_MANS=fc-list.1
+
+EXTRA_DIST=fc-list.sgml $(man_MANS)
fc_list_LDADD = $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK
-man_MANS=fc-list.1
-
${man_MANS}: ${SGML}
$(RM) $@
$(DOC2MAN) ${SGML}
INCLUDES=-I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
-EXTRA_DIST=fc-match.sgml
+man_MANS=fc-match.1
+
+EXTRA_DIST=fc-match.sgml $(man_MANS)
fc_match_LDADD = $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK
-man_MANS=fc-match.1
-
${man_MANS}: ${SGML}
$(RM) $@
$(DOC2MAN) ${SGML}