aboutsummaryrefslogtreecommitdiffstats
path: root/core/core.mk
diff options
context:
space:
mode:
authorderwinlu <[email protected]>2015-09-10 20:59:34 +0200
committerderwinlu <[email protected]>2015-09-11 12:00:41 +0200
commitcefe0e96af6187a8ed57a2f1c89784c485ec5f32 (patch)
treec2bcd48e33f912ccba497ce77514805521d3e849 /core/core.mk
parentdb7035bcfb0d6662fe70b9976f6f80fe5fcb446c (diff)
downloaderlang.mk-cefe0e96af6187a8ed57a2f1c89784c485ec5f32.tar.gz
erlang.mk-cefe0e96af6187a8ed57a2f1c89784c485ec5f32.tar.bz2
erlang.mk-cefe0e96af6187a8ed57a2f1c89784c485ec5f32.zip
add distclean-tmp
Removes $(ERLANG_MK_TMP) directory on distclean. * add distclean-tmp target * add core-clean-tmp test
Diffstat (limited to 'core/core.mk')
-rw-r--r--core/core.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/core.mk b/core/core.mk
index a41a240..08294d0 100644
--- a/core/core.mk
+++ b/core/core.mk
@@ -92,7 +92,10 @@ ifneq ($(wildcard erl_crash.dump),)
$(gen_verbose) rm -f erl_crash.dump
endif
-distclean:: clean
+distclean:: clean distclean-tmp
+
+distclean-tmp:
+ $(gen_verbose) rm -rf $(ERLANG_MK_TMP)
help::
$(verbose) printf "%s\n" \