diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2010-06-10 13:39:55 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-06-10 13:39:55 +0100 |
commit | 27d7ca35ac9bdbb3061b20dad1740999365d3ead (patch) | |
tree | 74c45ab85c939a4386e623c5640a78f2939e826b | |
parent | a725bc86798911607409f230b3fdbb7c88663b53 (diff) | |
download | rabbitmq-server-27d7ca35ac9bdbb3061b20dad1740999365d3ead.tar.gz |
Avoid very strange weird side effecting dependency thingy
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -70,6 +70,12 @@ define usage_dep $(call usage_xml_to_erl, $(1)): $(1) $(DOCS_DIR)/usage.xsl endef +ifneq "$(SBIN_DIR)" "" +ifneq "$(TARGET_DIR)" "" +SCRIPTS_REL_PATH=$(shell ./calculate-relative $(TARGET_DIR)/sbin $(SBIN_DIR)) +endif +endif + all: $(TARGETS) $(DEPS_FILE): $(SOURCES) $(INCLUDES) @@ -234,7 +240,6 @@ $(SOURCE_DIR)/%_usage.erl: docs_all: $(MANPAGES) $(WEB_MANPAGES) -install: SCRIPTS_REL_PATH=$(shell ./calculate-relative $(TARGET_DIR)/sbin $(SBIN_DIR)) install: all docs_all install_dirs cp -r ebin include LICENSE LICENSE-MPL-RabbitMQ INSTALL $(TARGET_DIR) |