;make clean: update
This commit is contained in:
		
							parent
							
								
									df92c36679
								
							
						
					
					
						commit
						58a088039d
					
				
							
								
								
									
										9
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								Makefile
									
									
									
									
									
								
							| @ -997,16 +997,13 @@ cleantags: \ | |||||||
| 	rm -f TAGS tags | 	rm -f TAGS tags | ||||||
| 
 | 
 | ||||||
| stackclean: \ | stackclean: \ | ||||||
| 	$(call def-help-hide,stackclean, remove .stack-work/* in packages (but not in project) ) | 	$(call def-help-hide,stackclean, remove .stack-work/ dirs ) | ||||||
| 	$(STACK) clean | 	$(STACK) purge | ||||||
| 
 |  | ||||||
| Stackclean: \ |  | ||||||
| 	$(call def-help-hide,Stackclean, remove all stack working dirs ) |  | ||||||
| 	$(STACK) clean |  | ||||||
| 
 | 
 | ||||||
| cleanghco: \ | cleanghco: \ | ||||||
| 	$(call def-help-hide,cleanghc, remove ghc build leftovers ) | 	$(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 -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 \ | clean: cleanghco \ | ||||||
| 	$(call def-help,clean, default cleanup (ghc build leftovers) ) | 	$(call def-help,clean, default cleanup (ghc build leftovers) ) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user