Bug 63329 - make check fails: .. contents:: :depth: 2
[platform/upstream/fontconfig.git] / fc-scan / Makefile.am
index 8909691..471a42f 100644 (file)
@@ -29,7 +29,7 @@ FC_SCAN_SRC=${top_srcdir}/fc-scan
 
 SGML = ${FC_SCAN_SRC}/fc-scan.sgml
 
-INCLUDES=-I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
+AM_CPPFLAGS=-I${top_srcdir} $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
 
 BUILT_MANS=fc-scan.1
 
@@ -39,6 +39,8 @@ endif
 
 EXTRA_DIST=fc-scan.sgml $(BUILT_MANS)
 
+CLEANFILES =
+
 fc_scan_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