From db7e3cb85467496686289d1a666b4ca274524fdd Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 14 Aug 2008 16:30:54 +0100 Subject: [Makefile.am] Delete intermediates Clean up after calling 'gcc -save-temps'. --- boilerplate/Makefile.am | 4 ++++ src/Makefile.am | 4 ++++ test/Makefile.am | 1 + test/pdiff/Makefile.am | 4 ++++ 4 files changed, 13 insertions(+) diff --git a/boilerplate/Makefile.am b/boilerplate/Makefile.am index fdf46fae..b025acd1 100644 --- a/boilerplate/Makefile.am +++ b/boilerplate/Makefile.am @@ -102,4 +102,8 @@ INCLUDES = \ CLEANFILES = \ $(EXTRA_LTLIBRARIES) +# Delete intermediate files as well +clean-local: + -${FIND} . -name '*.[is]' -print | ${XARGS} ${RM} + check test: libcairoboilerplate.la diff --git a/src/Makefile.am b/src/Makefile.am index 24694fc5..7869877f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -364,6 +364,10 @@ TESTS = check-def.sh check-plt.sh check-headers.sh check-cairoint.sh check-doc-s EXTRA_DIST += $(TESTS) check-has-hidden-symbols.c DISTCLEANFILES += check-has-hidden-symbols.i +# Delete intermediate files as well +clean-local: + -${FIND} . -name '*.[is]' -print | ${XARGS} ${RM} + # The pre-processed result is used by check-{def,plt}.sh to determine whether # cairo has been compiled with symbol hiding. .c.i: $(cairoinclude_HEADERS) $(nodist_cairoinclude_HEADERS) cairoint.h $(top_builddir)/config.h diff --git a/test/Makefile.am b/test/Makefile.am index 939640ec..dd1cb90c 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -921,6 +921,7 @@ clean-local: -${FIND} . -name '*-out.png' -print | ${XARGS} ${RM} -${FIND} . -name '*-diff.png' -print | ${XARGS} ${RM} -${FIND} . -name '*.log' -print | ${XARGS} ${RM} + -${FIND} . -name '*.[is]' -print | ${XARGS} ${RM} # The following definitions both should work. #FAILED_TESTS = `grep -l '\' $(TESTS:$(EXEEXT)=.log) 2>/dev/null | sed -e 's/[.]log$$//' | xargs echo` diff --git a/test/pdiff/Makefile.am b/test/pdiff/Makefile.am index 75459077..6abae51a 100644 --- a/test/pdiff/Makefile.am +++ b/test/pdiff/Makefile.am @@ -15,3 +15,7 @@ perceptualdiff_SOURCES = \ INCLUDES = -I$(top_srcdir)/src -I$(top_builddir)/src $(CAIRO_CFLAGS) LDADD = libpdiff.la $(top_builddir)/src/libcairo.la +# +# Delete intermediate files as well +clean-local: + -${FIND} . -name '*.[is]' -print | ${XARGS} ${RM} -- cgit v1.2.3