summaryrefslogtreecommitdiff
path: root/fc-cache
diff options
context:
space:
mode:
Diffstat (limited to 'fc-cache')
-rw-r--r--fc-cache/Makefile.am8
1 files changed, 6 insertions, 2 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