From ba884599133e444b5f6d0b9b6981079cf8059b9f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 18 Apr 2008 11:52:41 -0700 Subject: Fix build with !ENABLE_DOCS and no built manpages. --- fc-match/Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'fc-match') 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 -- cgit v1.2.3