summaryrefslogtreecommitdiff
path: root/fc-cat/Makefile.am
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-cat/Makefile.am
parent0dffe625d43c1165f8b84f97e8ba098793e2cf7b (diff)
downloadfontconfig-ba884599133e444b5f6d0b9b6981079cf8059b9f.tar.gz
Fix build with !ENABLE_DOCS and no built manpages.
Diffstat (limited to 'fc-cat/Makefile.am')
-rw-r--r--fc-cat/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/fc-cat/Makefile.am b/fc-cat/Makefile.am
index 245a75c..62f983c 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