summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-08 14:16:32 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-08 14:16:32 +0100
commit8113a819f08f99ece57e033603941b56ee43ab23 (patch)
tree53dfbcfdeee42875ddaeea753a9ddf5778f436b0 /packaging
parentf2ac67c88d06dec3ce18eb1a9777ea37eb3334d0 (diff)
downloadrabbitmq-server-git-8113a819f08f99ece57e033603941b56ee43ab23.tar.gz
add plugins to generic unix archive
Since we don't want to build the entire public-umbrella several times when building the broker artifacts (once for each of generic-unix, windows, deb and rpm), we make the location of the built plugins configurable in the broker's Makefile. I.e. the broker will normally install the plugins from provided_plugins/ (build by make plugin), but, if PLUGIN_DIST_DIR is set, it will install the plugins from there. This applies only to the install target.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/generic-unix/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/generic-unix/Makefile b/packaging/generic-unix/Makefile
index b5c342aad7..0c8b26ea79 100644
--- a/packaging/generic-unix/Makefile
+++ b/packaging/generic-unix/Makefile
@@ -2,6 +2,7 @@ VERSION=0.0.0
SOURCE_DIR=rabbitmq-server-$(VERSION)
TARGET_DIR=rabbitmq_server-$(VERSION)
TARGET_TARBALL=rabbitmq-server-generic-unix-$(VERSION)
+PLUGINS_DIST_DIR=
dist:
tar -zxf ../../dist/$(SOURCE_DIR).tar.gz
@@ -10,6 +11,7 @@ dist:
TARGET_DIR=`pwd`/$(TARGET_DIR) \
SBIN_DIR=`pwd`/$(TARGET_DIR)/sbin \
MAN_DIR=`pwd`/$(TARGET_DIR)/share/man \
+ PLUGINS_DIST_DIR=$(PLUGINS_DIST_DIR) \
install
tar -zcf $(TARGET_TARBALL).tar.gz $(TARGET_DIR)