summaryrefslogtreecommitdiff
path: root/fc-match/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'fc-match/Makefile.am')
-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 60e8649..ca5ca39 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