summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2010-03-21 19:31:57 +0000
committerMatthew Sackman <matthew@lshift.net>2010-03-21 19:31:57 +0000
commite9b9cbd3642c1fde11cde99185853a3696d5551d (patch)
treef2f990a46b0d94979de83fe6acccead2f954eb47
parent134c1ea18d4869b6943582f6bff8a6666e482f60 (diff)
downloadrabbitmq-server-e9b9cbd3642c1fde11cde99185853a3696d5551d.tar.gz
Allow clean and clean-like targets to not bother with the dependency generation
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e50b186c..8b60c8c4 100644
--- a/Makefile
+++ b/Makefile
@@ -246,4 +246,10 @@ install_dirs:
mkdir -p $(SBIN_DIR)
mkdir -p $(TARGET_DIR)/sbin
+# Note that all targets which depend on clean must have clean in their
+# name. Also any target that doesn't depend on clean should not have
+# clean in its name, unless you know that you don't need any of the
+# automatic dependency generation for that target (eg cleandb).
+ifeq "$(findstring clean,$(MAKECMDGOALS))" ""
-include $(DEPS_FILE)
+endif