summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert@lshift.net>2008-10-17 13:22:04 +0100
committerHubert Plociniczak <hubert@lshift.net>2008-10-17 13:22:04 +0100
commit362251281647a143574fcee36f4a00af47db7763 (patch)
tree1f84bb426f14e314f8d27060ce5a383edf61a8e6 /packaging
parent07f212e2942af3f5eb50543e0e36ccda026ac383 (diff)
parent7f06e87368d27293e37bfb49e089098f628c5749 (diff)
downloadrabbitmq-server-git-362251281647a143574fcee36f4a00af47db7763.tar.gz
Merge bug19329 into default
Diffstat (limited to 'packaging')
-rw-r--r--packaging/debs/Debian/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/debs/Debian/Makefile b/packaging/debs/Debian/Makefile
index dd74c31ea1..3e74cb5231 100644
--- a/packaging/debs/Debian/Makefile
+++ b/packaging/debs/Debian/Makefile
@@ -1,5 +1,6 @@
TARBALL_DIR=../../../dist
TARBALL=$(shell (cd $(TARBALL_DIR); echo rabbitmq-server-[0-9]*.tar.gz))
+DEBIAN_ORIG_TARBALL=$(shell echo $(TARBALL) | sed -e 's:\(.*\)-\(.*\)\(\.tar\.gz\):\1_\2\.orig\3:g')
VERSION=$(shell echo $(TARBALL) | sed -e 's:rabbitmq-server-\(.*\)\.tar\.gz:\1:g')
UNPACKED_DIR=rabbitmq-server-$(VERSION)
PACKAGENAME=rabbitmq-server
@@ -16,7 +17,8 @@ all:
package: clean
make -C ../.. check_tools
- tar -zxvf $(TARBALL_DIR)/$(TARBALL)
+ cp $(TARBALL_DIR)/$(TARBALL) $(DEBIAN_ORIG_TARBALL)
+ tar -zxvf $(DEBIAN_ORIG_TARBALL)
cp -r debian $(UNPACKED_DIR)
chmod a+x $(UNPACKED_DIR)/debian/rules
UNOFFICIAL_RELEASE=$(UNOFFICIAL_RELEASE) VERSION=$(VERSION) ./check-changelog.sh rabbitmq-server $(UNPACKED_DIR)