tools: fix make clean

This commit is contained in:
Simon Michael 2012-01-30 04:30:41 +00:00
parent 2f9669c248
commit 4d4e6355b5

View File

@ -861,7 +861,7 @@ emacstags:
-@rm -f TAGS; hasktags -e $(SOURCEFILES) $(CABALFILES) $(WEBFILES) Makefile
clean:
rm -rf `find . -name .virthualenv* -prune -o -name "*.o" -o -name "*.hi" -o -name "*~" -o -name "darcs-amend-record*" -o -name "*-darcs-backup*"`
rm -rf `find . -name "*.o" -o -name "*.hi" -o -name "*~" -o -name "darcs-amend-record*" -o -name "*-darcs-backup*" | grep -v .virthualenv`
Clean: clean cleandocs
rm -f bin/hledger TAGS tags