diff --git a/Makefile b/Makefile index 910d3a210..f32894dbe 100644 --- a/Makefile +++ b/Makefile @@ -33,8 +33,8 @@ export LOGSIZE ?= 1024 # HELP HEADER START # To see the definition of all available targets, take a look into the Makefile. # Targets starting with '--' are not meant to be directly called. -# If you want to do so anyway please use 'make -- [--target]' to not -# have '[--target]' to be treated as option to 'make'. +# If you want to do so anyway please use 'make -- [--target]' to avoid +# '[--target]' being treated as option to 'make'. # # # Targets meant to be used by humans are: @@ -55,14 +55,13 @@ help: .PHONY: clean # HELP: remove all compilation results in the directory but leave containers and images unharmed clean: - -rm -rf node_modules .npm .cache assets/icons assets/favicons static well-known || : - -rm -rf .stack-work .stack-work-build .stack-work-run .stack-work-test .stack-work-doc || : - -rm -rf bin .Dockerfile develop || : + -rm -rf node_modules .npm .cache assets/icons assets/favicons static well-known + -rm -rf .stack-work .stack-work-build .stack-work-run .stack-work-test .stack-work-doc + -rm -rf bin .Dockerfile develop .PHONY: clean-all # HELP: like clean but with container and image prune -clean-all: - $(MAKE) clean - -rm -rf .stack || : +clean-all: clean + -rm -rf .stack -$(CONTAINER_COMMAND) system prune --all --force --volumes -$(CONTAINER_COMMAND) image prune --all --force -$(CONTAINER_COMMAND) volume prune --force