summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/standalone/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/standalone/Makefile b/packaging/standalone/Makefile
index cd85ffcab3..2730eb6676 100644
--- a/packaging/standalone/Makefile
+++ b/packaging/standalone/Makefile
@@ -38,6 +38,9 @@ dist:
# move rabbitmq files to top level folder
mv $(RLS_DIR)/lib/rabbit-$(VERSION)/* $(RLS_DIR)
+# remove empty lib/rabbit-$(VERSION) folder
+ rm -rf $(RLS_DIR)/lib/rabbit-$(VERSION)
+
tar -zcf $(TARGET_TARBALL).tar.gz -C $(TARGET_DIR)/release $(TARGET_DIR)
rm -rf $(SOURCE_DIR) $(TARGET_DIR)