aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-11-01 16:22:46 +0100
committerLoïc Hoguin <[email protected]>2014-11-01 16:22:46 +0100
commit873e7589a78768a94b446ff78e7dea659de00477 (patch)
treebf4c00fa16241f495c3bab4860914d937631ed27 /erlang.mk
parent7424068900b645ed4cf12d21fbec5865f3b3a13c (diff)
downloaderlang.mk-873e7589a78768a94b446ff78e7dea659de00477.tar.gz
erlang.mk-873e7589a78768a94b446ff78e7dea659de00477.tar.bz2
erlang.mk-873e7589a78768a94b446ff78e7dea659de00477.zip
Don't distclean PKG_FILE2 if it's custom
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/erlang.mk b/erlang.mk
index 5726a82..1cc05b0 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -176,8 +176,10 @@ pkg-search:
$(error Usage: make pkg-search q=STRING)
endif
+ifeq ($(PKG_FILE2),$(CURDIR)/.erlang.mk.packages.v2)
distclean-pkg:
$(gen_verbose) rm -f $(PKG_FILE2)
+endif
help::
@printf "%s\n" "" \