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