diff options
| author | Emile Joubert <emile@rabbitmq.com> | 2013-07-17 12:25:26 +0100 |
|---|---|---|
| committer | Emile Joubert <emile@rabbitmq.com> | 2013-07-17 12:25:26 +0100 |
| commit | c1d51777577a7afa4cfd073a7b5c7916dc3cafcb (patch) | |
| tree | 99ec7abbb8b88dfdd9f1545405917c667eba3851 | |
| parent | 2e0f78bc61ac6056ceb306dfd9bc68b63d9a8122 (diff) | |
| parent | 5319f96acdc71838d89bd763f369697aed8ed50b (diff) | |
| download | rabbitmq-server-git-c1d51777577a7afa4cfd073a7b5c7916dc3cafcb.tar.gz | |
Merged stable into default
| -rw-r--r-- | Makefile | 5 | ||||
| -rw-r--r-- | version.mk | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -56,7 +56,8 @@ endif #other args: +native +"{hipe,[o3,verbose]}" -Ddebug=true +debug_info +no_strict_record_tests ERLC_OPTS=-I $(INCLUDE_DIR) -o $(EBIN_DIR) -Wall -v +debug_info $(call boolean_macro,$(USE_SPECS),use_specs) $(call boolean_macro,$(USE_PROPER_QC),use_proper_qc) -VERSION?=0.0.0 +include version.mk + PLUGINS_SRC_DIR?=$(shell [ -d "plugins-src" ] && echo "plugins-src" || echo ) PLUGINS_DIR=plugins TARBALL_NAME=rabbitmq-server-$(VERSION) @@ -262,6 +263,8 @@ srcdist: distclean cp -r $(AMQP_CODEGEN_DIR)/* $(TARGET_SRC_DIR)/codegen/ cp codegen.py Makefile generate_app generate_deps calculate-relative $(TARGET_SRC_DIR) + echo "VERSION?=${VERSION}" > $(TARGET_SRC_DIR)/version.mk + cp -r scripts $(TARGET_SRC_DIR) cp -r $(DOCS_DIR) $(TARGET_SRC_DIR) chmod 0755 $(TARGET_SRC_DIR)/scripts/* diff --git a/version.mk b/version.mk new file mode 100644 index 0000000000..5683af4a2f --- /dev/null +++ b/version.mk @@ -0,0 +1 @@ +VERSION?=0.0.0 |
