summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-10-20 15:39:32 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-10-20 15:39:32 +0100
commit1c489817fdb04aef3cf4d757329f7edd32b6d772 (patch)
tree76afb15ed0c9241f14758d630e6ebf123394334a /Makefile
parent1d554294023459a2b80fe8cac5ba69b90be35e0c (diff)
downloadrabbitmq-server-git-1c489817fdb04aef3cf4d757329f7edd32b6d772.tar.gz
Macports: get manpages from generic unix tarball, to avoid huge transitive dependency on xmlto.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ee0c083863..66695ed9ce 100644
--- a/Makefile
+++ b/Makefile
@@ -269,7 +269,9 @@ $(SOURCE_DIR)/%_usage.erl:
docs_all: $(MANPAGES) $(WEB_MANPAGES)
-install: all docs_all install_dirs
+install: install_bin install_docs
+
+install_bin: all install_dirs
cp -r ebin include LICENSE LICENSE-MPL-RabbitMQ INSTALL $(TARGET_DIR)
chmod 0755 scripts/*
@@ -277,14 +279,16 @@ install: all docs_all install_dirs
cp scripts/$$script $(TARGET_DIR)/sbin; \
[ -e $(SBIN_DIR)/$$script ] || ln -s $(SCRIPTS_REL_PATH)/$$script $(SBIN_DIR)/$$script; \
done
+ mkdir -p $(TARGET_DIR)/plugins
+ echo Put your .ez plugin files in this directory. > $(TARGET_DIR)/plugins/README
+
+install_docs: docs_all install_dirs
for section in 1 5; do \
mkdir -p $(MAN_DIR)/man$$section; \
for manpage in $(DOCS_DIR)/*.$$section.gz; do \
cp $$manpage $(MAN_DIR)/man$$section; \
done; \
done
- mkdir -p $(TARGET_DIR)/plugins
- echo Put your .ez plugin files in this directory. > $(TARGET_DIR)/plugins/README
install_dirs:
@ OK=true && \