mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-03 15:21:41 +01:00
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.
This commit is contained in:
parent
4cedb2a3ea
commit
8a745d310f
2 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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.*
|
||||
|
|
Loading…
Reference in a new issue