mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
build: add dataclean
It turns out to be inconvenient to delete the downloaded datafiles with distclean, so I propose a new target which does that instead. The closest conventional target is 'maintainer-clean'; the difference here is that having the original source tarball is not enough to reconstruct these files.
This commit is contained in:
parent
1856574394
commit
fe8cd90f97
3 changed files with 6 additions and 1 deletions
|
@ -262,6 +262,10 @@ clean:
|
|||
distclean: clean
|
||||
rm -rf $(DISTCLEAN)
|
||||
|
||||
.PHONY: dataclean
|
||||
dataclean: distclean
|
||||
rm -rf $(DATACLEAN)
|
||||
|
||||
notmuch_client_srcs = \
|
||||
command-line-arguments.c\
|
||||
debugger.c \
|
||||
|
|
|
@ -41,3 +41,4 @@ download-corpus:
|
|||
|
||||
CLEAN := $(CLEAN) $(dir)/tmp.* $(dir)/log.*
|
||||
DISTCLEAN := $(DISTCLEAN) $(dir)/corpus $(dir)/notmuch.cache.*
|
||||
DATACLEAN := $(DATACLEAN) $(TXZFILE)
|
||||
|
|
|
@ -11,4 +11,4 @@ test_databases := $(dir)/database-v1.tar.xz
|
|||
|
||||
download-test-databases: ${test_databases}
|
||||
|
||||
DISTCLEAN := $(DISTCLEAN) ${test_databases}
|
||||
DATACLEAN := $(DATACLEAN) ${test_databases}
|
||||
|
|
Loading…
Reference in a new issue