check.mak: don't clean build dirs we didn't create
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 9 Mar 2009 20:36:31 +0000 (20:36 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 9 Mar 2009 20:37:49 +0000 (20:37 +0000)
Fixes 'make distcheck' for me for the core.

check.mak

index 3fe42ea..847f3f2 100644 (file)
--- a/check.mak
+++ b/check.mak
@@ -1,7 +1,6 @@
+# keep target around, since it's referenced in the modules' Makefiles
 clean-local-check:
-       for i in `find . -name ".libs" -type d`; do \
-         rm -rf $$i; \
-       done
+       @echo
 
 if HAVE_VALGRIND
 # hangs spectacularly on some machines, so let's not do this by default yet