diff options
author | Hubert Plociniczak <hubert@lshift.net> | 2008-11-07 16:26:59 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert@lshift.net> | 2008-11-07 16:26:59 +0000 |
commit | bf9fcf46ccb873b1e860f18333784b57cfdfaf3c (patch) | |
tree | 32b5d46c15e661b2dafc648be79d283b388bc7a1 | |
parent | 78e2a8e7fdff0850e873a9f85b475a4ec36f97da (diff) | |
download | rabbitmq-server-bf9fcf46ccb873b1e860f18333784b57cfdfaf3c.tar.gz |
Do not include source files in the binary packages
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -94,7 +94,11 @@ stop-cover: all generic_stage: mkdir -p $(GENERIC_STAGE_DIR) - cp -r ebin include src $(GENERIC_STAGE_DIR) + cp -r ebin include $(GENERIC_STAGE_DIR) +ifneq "$(NO_SRC)" "true" + cp -r src $(GENERIC_STAGE_DIR) +endif + cp LICENSE LICENSE-MPL-RabbitMQ $(GENERIC_STAGE_DIR) if [ -f INSTALL.in ]; then \ @@ -136,7 +140,7 @@ install: all @[ -n "$(SBIN_DIR)" ] || (echo "Please set SBIN_DIR."; false) @[ -n "$(MAN_DIR)" ] || (echo "Please set MAN_DIR."; false) - $(MAKE) VERSION=$(VERSION) GENERIC_STAGE_DIR=$(TARGET_DIR) generic_stage + $(MAKE) VERSION=$(VERSION) GENERIC_STAGE_DIR=$(TARGET_DIR) NO_SRC=true generic_stage chmod 0755 scripts/* mkdir -p $(SBIN_DIR) |