]> git.wh0rd.org Git - fontconfig.git/commitdiff
Fix build with !ENABLE_DOCS and no built manpages.
authorEric Anholt <eric@anholt.net>
Fri, 18 Apr 2008 18:52:41 +0000 (11:52 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 18 Apr 2008 18:52:41 +0000 (11:52 -0700)
fc-cache/Makefile.am
fc-cat/Makefile.am
fc-list/Makefile.am
fc-match/Makefile.am

index b2be6bc37d860e127318711dcdc5280d3ce7271b..2c86a774c55874e83bc9f7a0c82bc596048bc089 100644 (file)
@@ -40,9 +40,13 @@ INCLUDES=-I${top_srcdir} -I${top_srcdir}/src $(WARN_CFLAGS)
 
 bin_PROGRAMS=fc-cache
 
-man_MANS=fc-cache.1
+BUILT_MANS=fc-cache.1
 
-EXTRA_DIST=fc-cache.sgml $(man_MANS)
+if ENABLE_DOCS
+man_MANS=${BUILT_MANS}
+endif
+
+EXTRA_DIST=fc-cache.sgml $(BUILT_MANS)
 
 fc_cache_LDADD = ${top_builddir}/src/libfontconfig.la
 
index 245a75c3c993539c5516a02c89af3bf2746ec943..62f983cd83f326e51af09f5c392adf7d8dcd677a 100644 (file)
@@ -31,9 +31,13 @@ INCLUDES=-I${top_srcdir} $(WARN_CFLAGS)
 
 bin_PROGRAMS=fc-cat
 
-man_MANS=fc-cat.1
+BUILT_MANS=fc-cat.1
 
-EXTRA_DIST=fc-cat.sgml fc-cat.1
+if ENABLE_DOCS
+man_MANS=${BUILT_MANS}
+endif
+
+EXTRA_DIST=fc-cat.sgml ${BUILT_MANS}
 
 fc_cat_LDADD = ${top_builddir}/src/libfontconfig.la
 
index dc9f4100398b9cc9228ed6b103f98d382bbe3b90..fcbb326258a403699482566938ddf6251ac38db8 100644 (file)
@@ -31,9 +31,13 @@ bin_PROGRAMS=fc-list
 
 INCLUDES=-I${top_srcdir} $(WARN_CFLAGS)
 
-man_MANS=fc-list.1
+BUILT_MANS=fc-list.1
 
-EXTRA_DIST=fc-list.sgml $(man_MANS)
+if ENABLE_DOCS
+man_MANS=${BUILT_MANS}
+endif
+
+EXTRA_DIST=fc-list.sgml $(BUILT_MANS)
 
 fc_list_LDADD = ${top_builddir}/src/libfontconfig.la
 
index 60e86497c96a978b8d89ecd2108daa7b90a98d80..ca5ca39ee9f704909cc51f368ba94d1836b1b68d 100644 (file)
@@ -31,9 +31,13 @@ SGML = ${FC_MATCH_SRC}/fc-match.sgml
 
 INCLUDES=-I${top_srcdir} $(WARN_CFLAGS)
 
-man_MANS=fc-match.1
+BUILT_MANS=fc-match.1
 
-EXTRA_DIST=fc-match.sgml $(man_MANS)
+if ENABLE_DOCS
+man_MANS=${BUILT_MANS}
+endif
+
+EXTRA_DIST=fc-match.sgml $(BUILT_MANS)
 
 fc_match_LDADD = ${top_builddir}/src/libfontconfig.la