summaryrefslogtreecommitdiff
path: root/fc-cache
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-04-18 11:52:41 -0700
committerEric Anholt <eric@anholt.net>2008-04-18 11:52:41 -0700
commitba884599133e444b5f6d0b9b6981079cf8059b9f (patch)
treef2560ef7abe06cc4cec8e53a56809c04512ee49e /fc-cache
parent0dffe625d43c1165f8b84f97e8ba098793e2cf7b (diff)
Fix build with !ENABLE_DOCS and no built manpages.
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