summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-04-15 09:46:21 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-04-15 09:46:21 (GMT)
commit6d6e255dbfd6f67fc66cb8b289c7ddb2c9420615 (patch)
tree54f6e22c2e08fb9aa76b7c49c9654aeab924672c
parent91726a0583dde70684e6e8974332e2174018806a (diff)
parent6a099a0403b0352973f667174eae36a3a36ff29e (diff)
downloadmxe-6d6e255dbfd6f67fc66cb8b289c7ddb2c9420615.zip
mxe-6d6e255dbfd6f67fc66cb8b289c7ddb2c9420615.tar.gz
mxe-6d6e255dbfd6f67fc66cb8b289c7ddb2c9420615.tar.bz2
Merge pull request #359 from TimothyGu/temp-rem
Add convenience target clean-junk
-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>