mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
tools: make clean avoid sandboxes
This commit is contained in:
parent
7a13934968
commit
6a23ea87cc
10
Makefile
10
Makefile
@ -1068,12 +1068,18 @@ emacstags:
|
||||
-@rm -f TAGS; hasktags -e $(SOURCEFILES) $(WEBFILES) $(CABALFILES) $(DOCFILES) Makefile
|
||||
|
||||
clean:
|
||||
rm -rf `find . -name "*.o" -o -name "*.hi" -o -name "*~" -o -name "darcs-amend-record*" -o -name "*-darcs-backup*" | grep -v .virthualenv`
|
||||
rm -rf `find . -name "*.o" -o -name "*.hi" -o -name "*~" | grep -vE '(virthualenv|cabal-sandbox)'`
|
||||
for p in $(PACKAGES); do \
|
||||
(cd $$p; cabal clean); \
|
||||
done
|
||||
# rm -f `find $$p -name '*.o' -o -name '*.hi'`; \
|
||||
|
||||
cleanbin:
|
||||
rm -f bin/hledgerdev bin/hledgerdev.ghc*
|
||||
|
||||
Clean: clean cleanbin cleandocs
|
||||
cleantags:
|
||||
rm -f TAGS tags
|
||||
|
||||
Clean: clean cleanbin cleantags
|
||||
|
||||
-include Makefile.local
|
||||
|
Loading…
Reference in New Issue
Block a user