summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4dc1de4..95948e6 100644
--- a/Makefile
+++ b/Makefile
@@ -81,7 +81,7 @@ check_rootpw = $(if $(strip $(ROOTPW)),\
)
-.PHONY: help clean_except_last clean_bases
+.PHONY: help clean_except_last clean_bases clean_all
help:
@@ -147,6 +147,11 @@ clean_bases:
test -d $(template) && rm -rf $(template)/base;\
)
+clean_all:
+ @-$(foreach template,$(TEMPLATES),\
+ test -d $(template) && rm -rf $(template);\
+ )
+
help:
@printf "Usage:\n\tmake <template>/<flavor>[/boot]\n"
@echo