summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2013-09-13 10:27:54 +0100
committerTim Watson <tim@rabbitmq.com>2013-09-13 10:27:54 +0100
commit330cb4de45aa966a6570018fa17a612329ac2b4e (patch)
tree79f77f629f9f29ad30011f2c204198bcb85476aa /Makefile
parentf00552788a9eb8e9a11e2bc4bf515cbacbc26a99 (diff)
downloadrabbitmq-server-git-330cb4de45aa966a6570018fa17a612329ac2b4e.tar.gz
tweak handling of the doc install dir
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))))