Distribute man source files for command line programs (bug 9678).

For systems on whch DOCBOOK is unavailable, distribute command line program
manual pages in .man format.
This commit is contained in:
Keith Packard 2007-10-25 01:26:09 -07:00
parent cf3e888b71
commit 43d0454597
4 changed files with 12 additions and 12 deletions

View File

@ -37,14 +37,14 @@ INCLUDES=-I${top_srcdir} -I${top_srcdir}/src $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
bin_PROGRAMS=fc-cache 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 fc_cache_LDADD = $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK if USEDOCBOOK
man_MANS=fc-cache.1
${man_MANS}: ${SGML} ${man_MANS}: ${SGML}
$(RM) $@ $(RM) $@
$(DOC2MAN) ${SGML} $(DOC2MAN) ${SGML}

View File

@ -31,14 +31,14 @@ INCLUDES=-I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
bin_PROGRAMS=fc-cat 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 fc_cat_LDADD = $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK if USEDOCBOOK
man_MANS=fc-cat.1
${man_MANS}: ${SGML} ${man_MANS}: ${SGML}
$(RM) $@ $(RM) $@
$(DOC2MAN) ${SGML} $(DOC2MAN) ${SGML}

View File

@ -31,14 +31,14 @@ bin_PROGRAMS=fc-list
INCLUDES=-I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS) 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 fc_list_LDADD = $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK if USEDOCBOOK
man_MANS=fc-list.1
${man_MANS}: ${SGML} ${man_MANS}: ${SGML}
$(RM) $@ $(RM) $@
$(DOC2MAN) ${SGML} $(DOC2MAN) ${SGML}

View File

@ -31,14 +31,14 @@ SGML = ${FC_MATCH_SRC}/fc-match.sgml
INCLUDES=-I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS) 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 fc_match_LDADD = $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK if USEDOCBOOK
man_MANS=fc-match.1
${man_MANS}: ${SGML} ${man_MANS}: ${SGML}
$(RM) $@ $(RM) $@
$(DOC2MAN) ${SGML} $(DOC2MAN) ${SGML}