Commit 43d04545 authored by Keith Packard's avatar Keith Packard

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.
parent cf3e888b
......@@ -37,14 +37,14 @@ INCLUDES=-I${top_srcdir} -I${top_srcdir}/src $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
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}
......
......@@ -31,14 +31,14 @@ INCLUDES=-I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
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}
......
......@@ -31,14 +31,14 @@ bin_PROGRAMS=fc-list
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}
......
......@@ -31,14 +31,14 @@ SGML = ${FC_MATCH_SRC}/fc-match.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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment