Update spec file
[platform/upstream/fontconfig.git] / fc-match / Makefile.am
index d046b79..84afb8b 100644 (file)
@@ -29,7 +29,7 @@ FC_MATCH_SRC=${top_srcdir}/fc-match
 
 SGML = ${FC_MATCH_SRC}/fc-match.sgml
 
-INCLUDES=-I${top_srcdir} $(WARN_CFLAGS)
+AM_CPPFLAGS=-I${top_srcdir} $(WARN_CFLAGS)
 
 BUILT_MANS=fc-match.1
 
@@ -39,6 +39,8 @@ endif
 
 EXTRA_DIST=fc-match.sgml $(BUILT_MANS)
 
+CLEANFILES =
+
 fc_match_LDADD = ${top_builddir}/src/libfontconfig.la
 
 if USEDOCBOOK
@@ -50,10 +52,9 @@ ${man_MANS}: ${SGML}
 
 all-local: $(man_MANS)
 
-clean-local:
-       $(RM) $(man_MANS)
-
+CLEANFILES += ${man_MANS}
 else
 all-local:
-clean-local:
 endif
+
+-include $(top_srcdir)/git.mk