aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/erlang.mk b/erlang.mk
index f37307d..9c25c9b 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -702,7 +702,7 @@ endif
rel:: distclean-rel $(RELX)
@$(RELX) -c $(RELX_CONFIG) $(RELX_OPTS)
-distclean:: distclean-rel
+distclean:: distclean-rel distclean-relx
# Plugin-specific targets.
@@ -715,6 +715,9 @@ $(RELX):
@$(call relx_fetch)
distclean-rel:
- $(gen_verbose) rm -rf $(RELX) $(RELX_OUTPUT_DIR)
+ $(gen_verbose) rm -rf $(RELX_OUTPUT_DIR)
+
+distclean-relx:
+ $(gen_verbose) rm -rf $(RELX)
endif