summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fc-cache/Makefile.am8
-rw-r--r--fc-cat/Makefile.am8
-rw-r--r--fc-list/Makefile.am8
-rw-r--r--fc-match/Makefile.am8
4 files changed, 24 insertions, 8 deletions
diff --git a/fc-cache/Makefile.am b/fc-cache/Makefile.am
index b2be6bc3..2c86a774 100644
--- a/fc-cache/Makefile.am
+++ b/fc-cache/Makefile.am
@@ -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
diff --git a/fc-cat/Makefile.am b/fc-cat/Makefile.am
index 245a75c3..62f983cd 100644
--- a/fc-cat/Makefile.am
+++ b/fc-cat/Makefile.am
@@ -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
diff --git a/fc-list/Makefile.am b/fc-list/Makefile.am
index dc9f4100..fcbb3262 100644
--- a/fc-list/Makefile.am
+++ b/fc-list/Makefile.am
@@ -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
diff --git a/fc-match/Makefile.am b/fc-match/Makefile.am
index 60e86497..ca5ca39e 100644
--- a/fc-match/Makefile.am
+++ b/fc-match/Makefile.am
@@ -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