From 58a088039da1a4b39ca3b5c3d2c1bb03ae5bf877 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 20 Apr 2020 13:12:41 -0700 Subject: [PATCH] ;make clean: update --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 933405f31..48618cdeb 100644 --- a/Makefile +++ b/Makefile @@ -997,16 +997,13 @@ cleantags: \ rm -f TAGS tags stackclean: \ - $(call def-help-hide,stackclean, remove .stack-work/* in packages (but not in project) ) - $(STACK) clean - -Stackclean: \ - $(call def-help-hide,Stackclean, remove all stack working dirs ) - $(STACK) clean + $(call def-help-hide,stackclean, remove .stack-work/ dirs ) + $(STACK) purge cleanghco: \ $(call def-help-hide,cleanghc, remove ghc build leftovers ) rm -rf `find . -name "*.o" -o -name "*.hi" -o -name "*.dyn_o" -o -name "*.dyn_hi" -o -name "*~" | grep -vE '\.(stack-work|cabal-sandbox|virthualenv)'` +#rm -f `fd -I '\.(hi|o|dyn_hi|dyn_o)$'` clean: cleanghco \ $(call def-help,clean, default cleanup (ghc build leftovers) )