Makefile: fix test-clean by using 'distclean'

This commit is contained in:
Brian Warner 2014-09-02 18:32:27 -07:00
parent 58b66b4018
commit 83068a90c8
1 changed files with 3 additions and 3 deletions

View File

@ -221,10 +221,10 @@ test-git-ignore:
$(PYTHON) misc/build_helpers/test-git-ignore.py
test-clean:
find . |grep -vEe "_darcs|allfiles.tmp|src/allmydata/_(version|appname).py" |sort >allfiles.tmp.old
find . |grep -vEe "allfiles.tmp|src/allmydata/_(version|appname).py" |sort >allfiles.tmp.old
$(MAKE)
$(MAKE) clean
find . |grep -vEe "_darcs|allfiles.tmp|src/allmydata/_(version|appname).py" |sort >allfiles.tmp.new
$(MAKE) distclean
find . |grep -vEe "allfiles.tmp|src/allmydata/_(version|appname).py" |sort >allfiles.tmp.new
diff allfiles.tmp.old allfiles.tmp.new
# It would be nice if 'make clean' deleted any automatically-generated