diff options
| author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-09-08 12:52:54 +0100 |
|---|---|---|
| committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-09-08 12:52:54 +0100 |
| commit | 81e21b46b5a03c5be6efabe8d5fb275604ccb6b9 (patch) | |
| tree | 0406d48f901b2758354d3fcca0d70bb389d0f4c5 | |
| parent | 145e8a18a6f0414b91bf285ee940ba60ee1a9e51 (diff) | |
| download | rabbitmq-server-git-81e21b46b5a03c5be6efabe8d5fb275604ccb6b9.tar.gz | |
add target to build plugins and put the .ezs in provided_plugins/
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -102,6 +102,11 @@ endif all: $(TARGETS) +plugins: + [ -d "plugins-src" ] || echo No plugins source distribution found + mkdir -p provided_plugins + $(MAKE) -C plugins-src plugins-dist PLUGINS_DIST_DIR=$(CURDIR)/provided_plugins VERSION=$(VERSION) + $(DEPS_FILE): $(SOURCES) $(INCLUDES) rm -f $@ echo $(subst : ,:,$(foreach FILE,$^,$(FILE):)) | escript generate_deps $@ $(EBIN_DIR) @@ -238,7 +243,7 @@ srcdist: distclean cp -r $(DOCS_DIR) $(TARGET_SRC_DIR) chmod 0755 $(TARGET_SRC_DIR)/scripts/* - [ "x" != "x$(PLUGINS_SRC_DIR)" ] && ln -s $(PLUGINS_SRC_DIR) $(TARGET_SRC_DIR)/provided_plugins || echo No plugins source distribution found + [ "x" != "x$(PLUGINS_SRC_DIR)" ] && ln -s $(PLUGINS_SRC_DIR) $(TARGET_SRC_DIR)/plugins-src || echo No plugins source distribution found (cd dist; tar -zchf $(TARBALL_NAME).tar.gz $(TARBALL_NAME)) (cd dist; zip -q -r $(TARBALL_NAME).zip $(TARBALL_NAME)) |
