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 | fde8a552d689c78ac3ec3d57a5f4835b3f059249 (patch) | |
| tree | 74c45ab85c939a4386e623c5640a78f2939e826b | |
| parent | 091127c82093fa418c55ada8c5c0c244df9390a0 (diff) | |
| download | rabbitmq-server-git-fde8a552d689c78ac3ec3d57a5f4835b3f059249.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) |
