summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--index.html7
2 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6b5f23c..bd1065b 100644
--- a/Makefile
+++ b/Makefile
@@ -434,6 +434,10 @@ clean-pkg:
$(foreach PKG,$(PKGS),$(PKG_DIR)/$($(PKG)_FILE)), \
$(wildcard $(PKG_DIR)/*)))
+.PHONY: clean-junk
+clean-junk: clean-pkg
+ rm -rf $(LOG_DIR) $(call TMP_DIR,*)
+
.PHONY: update
define UPDATE
$(if $(2),
diff --git a/index.html b/index.html
index 975c69e..a5f8336 100644
--- a/index.html
+++ b/index.html
@@ -951,6 +951,13 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
&ndash; use with caution!
</dd>
+ <dt>make clean-junk</dt>
+
+ <dd>
+ remove all unused files, including unused package
+ files, temporary folders, and logs
+ </dd>
+
<dt>make clean-pkg</dt>
<dd>