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 | f821572634cecadf3f7c73c17d132e7d9c3d42fd (patch) | |
| tree | 32b5d46c15e661b2dafc648be79d283b388bc7a1 /Makefile | |
| parent | c83165eca1af82dc079085c09dc7fd7be997e317 (diff) | |
| download | rabbitmq-server-git-f821572634cecadf3f7c73c17d132e7d9c3d42fd.tar.gz | |
Do not include source files in the binary packages
Diffstat (limited to 'Makefile')
| -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) |
