diff options
| author | Tony Garnock-Jones <tonyg@lshift.net> | 2008-07-03 13:35:11 +0100 |
|---|---|---|
| committer | Tony Garnock-Jones <tonyg@lshift.net> | 2008-07-03 13:35:11 +0100 |
| commit | 675869a27714307bce377638dfe8f6a5f069e757 (patch) | |
| tree | e4f9872242be02145702775f5c563f2b246f57ce /packaging/generic-unix | |
| download | rabbitmq-server-git-675869a27714307bce377638dfe8f6a5f069e757.tar.gz | |
Initial commit, from repo-rebase-20080703121916_default (e96543d904a2)
Diffstat (limited to 'packaging/generic-unix')
| -rw-r--r-- | packaging/generic-unix/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packaging/generic-unix/Makefile b/packaging/generic-unix/Makefile new file mode 100644 index 0000000000..132575226c --- /dev/null +++ b/packaging/generic-unix/Makefile @@ -0,0 +1,25 @@ +VERSION=0.0.0 +SOURCE_DIR=rabbitmq-server-$(VERSION) +TARGET_DIR=rabbitmq_server-$(VERSION) +TARGET_TARBALL=rabbitmq-server-generic-unix-$(VERSION) + +dist: + make -C ../.. VERSION=$(VERSION) srcdist + tar -zxvf ../../dist/$(SOURCE_DIR).tar.gz + + mkdir $(TARGET_DIR) + mkdir $(TARGET_DIR)/sbin + make -C $(SOURCE_DIR) \ + TARGET_DIR=`pwd`/$(TARGET_DIR) \ + SBIN_DIR=`pwd`/$(TARGET_DIR)/sbin \ + install + + tar -zcf $(TARGET_TARBALL).tar.gz $(TARGET_DIR) + rm -rf $(SOURCE_DIR) $(TARGET_DIR) + +clean: clean_partial + rm -f rabbitmq-server-generic-unix-*.tar.gz + +clean_partial: + rm -rf $(SOURCE_DIR) + rm -rf $(TARGET_DIR) |
