summaryrefslogtreecommitdiff
path: root/Makefile
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
commitd4894895bff41762397dad3b3eae95d58143962a (patch)
treef2f990a46b0d94979de83fe6acccead2f954eb47 /Makefile
parent82e36802cea188f815602522e0c3863a988ce0ba (diff)
downloadrabbitmq-server-git-d4894895bff41762397dad3b3eae95d58143962a.tar.gz
Allow clean and clean-like targets to not bother with the dependency generation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e50b186cdb..8b60c8c4ed 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