diff options
author | Matthew Sackman <matthew@lshift.net> | 2010-03-21 19:31:57 +0000 |
---|---|---|
committer | Matthew Sackman <matthew@lshift.net> | 2010-03-21 19:31:57 +0000 |
commit | e9b9cbd3642c1fde11cde99185853a3696d5551d (patch) | |
tree | f2f990a46b0d94979de83fe6acccead2f954eb47 | |
parent | 134c1ea18d4869b6943582f6bff8a6666e482f60 (diff) | |
download | rabbitmq-server-e9b9cbd3642c1fde11cde99185853a3696d5551d.tar.gz |
Allow clean and clean-like targets to not bother with the dependency generation
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |