diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-08-14 16:30:54 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-08-17 11:39:56 +0100 |
commit | db7e3cb85467496686289d1a666b4ca274524fdd (patch) | |
tree | 9638af12e61170a2506299b7376fbd9c8781c801 | |
parent | 67326b728bca24dc02df7f144b9471636d5e1d4c (diff) |
[Makefile.am] Delete intermediates
Clean up after calling 'gcc -save-temps'.
-rw-r--r-- | boilerplate/Makefile.am | 4 | ||||
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | test/Makefile.am | 1 | ||||
-rw-r--r-- | test/pdiff/Makefile.am | 4 |
4 files changed, 13 insertions, 0 deletions
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 '\<FAIL\>' $(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} |