diff options
author | Matthew Sackman <matthew@lshift.net> | 2010-01-29 16:58:20 +0000 |
---|---|---|
committer | Matthew Sackman <matthew@lshift.net> | 2010-01-29 16:58:20 +0000 |
commit | edec4ef88293af59612aacc8fc5a8d91d616027b (patch) | |
tree | 9864a3605d521687a69602c46a2b9cd307de150e | |
parent | c48aec6cfdcdbf0c61182d442ea6c064e75e81d7 (diff) | |
download | rabbitmq-server-edec4ef88293af59612aacc8fc5a8d91d616027b.tar.gz |
If the only target is clean, don't include the deps file. Also the deps file gets built automatically if we need to include it, so all doesn't need to depend on it, and using is neater
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -58,10 +58,10 @@ ERL_CALL=erl_call -sname $(RABBITMQ_NODENAME) -e ERL_EBIN=erl -noinput -pa $(EBIN_DIR) -all: $(DEPS_FILE) $(TARGETS) +all: $(TARGETS) $(DEPS_FILE): $(SOURCES) $(INCLUDES) - escript generate_deps $(INCLUDE_DIR) $(SOURCE_DIR) \$$\(EBIN_DIR\) $(DEPS_FILE) + escript generate_deps $(INCLUDE_DIR) $(SOURCE_DIR) \$$\(EBIN_DIR\) $@ $(EBIN_DIR)/rabbit.app: $(EBIN_DIR)/rabbit_app.in $(BEAM_TARGETS) generate_app escript generate_app $(EBIN_DIR) $@ < $< @@ -224,4 +224,6 @@ install_dirs: mkdir -p $(SBIN_DIR) mkdir -p $(TARGET_DIR)/sbin +ifneq ($(MAKECMDGOALS),clean) -include $(DEPS_FILE) +endif |