summaryrefslogtreecommitdiff
path: root/fc-list
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-list
parent0dffe625d43c1165f8b84f97e8ba098793e2cf7b (diff)
Fix build with !ENABLE_DOCS and no built manpages.
Diffstat (limited to 'fc-list')
-rw-r--r--fc-list/Makefile.am8
1 files changed, 6 insertions, 2 deletions
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