diff --git a/Makefile b/Makefile index 3aecdc6f1..e43e92eb0 100644 --- a/Makefile +++ b/Makefile @@ -37,8 +37,7 @@ 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 avoid -# '[--target]' being 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: @@ -57,7 +56,7 @@ help: fi .PHONY: clean -# HELP: remove all compilation results in the directory but leave containers and images unharmed +# HELP: stop all running containers and remove all compilation results in the directory (but leave images including dependencies unharmed) clean: $(MAKE) stop -rm -rf node_modules .npm .cache assets/icons assets/favicons static well-known @@ -65,7 +64,7 @@ clean: -rm -rf bin .Dockerfile develop -$(CONTAINER_COMMAND) container prune --force .PHONY: clean-all -# HELP: like clean but with container and image prune +# HELP: like clean but with full container, image, and volume prune clean-all: clean -rm -rf .stack -$(CONTAINER_COMMAND) system prune --all --force --volumes