aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <bremner@debian.org>2012-08-02 09:27:26 -0300
committerDavid Bremner <bremner@debian.org>2012-08-02 21:09:45 -0300
commit8a745d310f966194e82f12f6453f05cc877379d6 (patch)
treec2de52fb69179f83e0b621d3fb8eed64d460bddc
parent4cedb2a3ea77b61a5d8e9fe56e8585d312ee96ca (diff)
build system: remove directories created by tests in "make clean"
These extra directories cause problems for building on Debian twice in a row. In order to remove directories, we need to us "rm -rf" instead of "rm -f". So now we should be extra careful what we add to the variable CLEAN.
-rw-r--r--Makefile.local2
-rw-r--r--test/Makefile.local3
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.local b/Makefile.local
index 296995d..6d6896a 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -265,7 +265,7 @@ quiet ?= $($(shell echo $1 | sed -e s'/ .*//'))
.PHONY : clean
clean:
- rm -f $(CLEAN); rm -rf .deps
+ rm -rf $(CLEAN); rm -rf .deps
# We don't (yet) have any distributed files not in the upstream repository.
# So distclean is currently identical to clean.
diff --git a/test/Makefile.local b/test/Makefile.local
index 4a6a4b1..c7f1435 100644
--- a/test/Makefile.local
+++ b/test/Makefile.local
@@ -31,4 +31,5 @@ check: test
SRCS := $(SRCS) $(smtp_dummy_srcs)
CLEAN := $(CLEAN) $(dir)/smtp-dummy $(dir)/smtp-dummy.o \
$(dir)/symbol-test $(dir)/symbol-test.o \
- $(dir)/arg-test $(dir)/arg-test.o
+ $(dir)/arg-test $(dir)/arg-test.o \
+ $(dir)/corpus.mail $(dir)/test-results $(dir)/tmp.*