diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-10-09 15:05:24 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr> | 2015-10-20 11:10:48 +0200 |
| commit | f78a6551e80baa7113dcb1f7201b7c2d0bb88a7f (patch) | |
| tree | c8d1545e3127e0ad4c2710aef1519ef6a53efad2 /packaging/debs | |
| parent | 48614919f369ffcf68f78d2fd48edbf416ce81ec (diff) | |
| download | rabbitmq-server-git-f78a6551e80baa7113dcb1f7201b7c2d0bb88a7f.tar.gz | |
Finish with generic-unix and standalone-macosx packages
Diffstat (limited to 'packaging/debs')
| -rw-r--r-- | packaging/debs/Debian/Makefile | 9 | ||||
| -rwxr-xr-x | packaging/debs/Debian/debian/rules | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/packaging/debs/Debian/Makefile b/packaging/debs/Debian/Makefile index bf0d3b7bb6..ffab0d14f0 100644 --- a/packaging/debs/Debian/Makefile +++ b/packaging/debs/Debian/Makefile @@ -13,8 +13,8 @@ else SIGNING=-k$(SIGNING_KEY_ID) endif -all: - @echo 'Please choose a target from the Makefile.' +all: package + @: package: clean cp -a $(TARBALL_DIR)/$(TARBALL) $(DEBIAN_ORIG_TARBALL) @@ -29,6 +29,11 @@ package: clean cd $(UNPACKED_DIR); GNUPGHOME=$(GNUPG_PATH)/.gnupg dpkg-buildpackage -sa $(SIGNING) rm -rf $(UNPACKED_DIR) + if test "$(PACKAGES_DIR)"; then \ + mkdir -p "$(PACKAGES_DIR)"; \ + mv $(PACKAGENAME)_$(VERSION)* "$(PACKAGES_DIR)"; \ + fi + clean: rm -rf $(UNPACKED_DIR) rm -f $(PACKAGENAME)_*.tar.gz diff --git a/packaging/debs/Debian/debian/rules b/packaging/debs/Debian/debian/rules index f49e1e0eea..0bee6deadc 100755 --- a/packaging/debs/Debian/debian/rules +++ b/packaging/debs/Debian/debian/rules @@ -27,6 +27,8 @@ override_dh_auto_install: RMQ_ERLAPP_DIR = $(RMQ_ROOTDIR)/lib/rabbitmq_server-$( override_dh_auto_install: dh_auto_install + $(MAKE) install-bin DESTDIR=$(DEB_DESTDIR) + sed -e 's|@RABBIT_LIB@|$(RMQ_ERLAPP_DIR)|g' \ < debian/postrm.in > debian/postrm |
