summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2013-09-19 10:58:04 +0100
committerTim Watson <tim@rabbitmq.com>2013-09-19 10:58:04 +0100
commit93b7d6fc5da6eb2ed92044c03434d1a0703526a4 (patch)
tree6af820f4605aee6f3b44ec873f2f9aad5caf9721 /Makefile
parent58ae98c86a4337509809314f3830b00acc58bb68 (diff)
parent9bee1a19105998d904078e338a0b212257b1d79d (diff)
downloadrabbitmq-server-git-93b7d6fc5da6eb2ed92044c03434d1a0703526a4.tar.gz
merge heads
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e8c4b4cbf7..f294ca7a2c 100644
--- a/Makefile
+++ b/Makefile
@@ -341,7 +341,7 @@ install_docs: docs_all install_dirs
cp $$manpage $(MAN_DIR)/man$$section; \
done; \
done
- cp $(DOCS_DIR)/rabbitmq.sample.config $(DOC_INSTALL_DIR)/rabbitmq.sample.config
+ $(ifneq $(DOC_INSTALL_DIR),,$(shell cp $(DOCS_DIR)/rabbitmq.sample.config $(DOC_INSTALL_DIR)/rabbitmq.sample.config))
install_dirs:
@ OK=true && \
@@ -352,7 +352,7 @@ install_dirs:
mkdir -p $(TARGET_DIR)/sbin
mkdir -p $(SBIN_DIR)
mkdir -p $(MAN_DIR)
- mkdir -p $(DOC_INSTALL_DIR)
+ $(ifneq $(DOC_INSTALL_DIR),,$(shell mkdir -p $(DOC_INSTALL_DIR)))
$(foreach XML,$(USAGES_XML),$(eval $(call usage_dep, $(XML))))