summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2015-11-04 18:05:30 +0000
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2015-11-04 18:05:30 +0000
commitc70e10f6ad90d018c97a308f9165ffcae3a98204 (patch)
tree585d2982fec60eef6d73827e45f81e0c43307d01 /Makefile
parent31d89320e714d847b0ee89c374106da6a6f1cf68 (diff)
downloadrabbitmq-server-git-c70e10f6ad90d018c97a308f9165ffcae3a98204.tar.gz
make source-dist: -n means different things for BSD and GNU tar
Use --no-recursion instead.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 36c7329da2..ed78cb356c 100644
--- a/Makefile
+++ b/Makefile
@@ -262,19 +262,19 @@ $(SOURCE_DIST): $(ERLANG_MK_RECURSIVE_DEPS_LIST)
$(SOURCE_DIST).tar.gz: $(SOURCE_DIST)
$(gen_verbose) cd $(dir $(SOURCE_DIST)) && \
find $(notdir $(SOURCE_DIST)) -print0 | LC_COLLATE=C sort -z | \
- xargs -0 $(TAR) -cnf - $(TAR_V) | \
+ xargs -0 $(TAR) $(TAR_V) --no-recursion -cf - | \
$(GZIP) --best > $@
$(SOURCE_DIST).tar.bz2: $(SOURCE_DIST)
$(gen_verbose) cd $(dir $(SOURCE_DIST)) && \
find $(notdir $(SOURCE_DIST)) -print0 | LC_COLLATE=C sort -z | \
- xargs -0 $(TAR) -cnf - $(TAR_V) | \
+ xargs -0 $(TAR) $(TAR_V) --no-recursion -cf - | \
$(BZIP2) > $@
$(SOURCE_DIST).tar.xz: $(SOURCE_DIST)
$(gen_verbose) cd $(dir $(SOURCE_DIST)) && \
find $(notdir $(SOURCE_DIST)) -print0 | LC_COLLATE=C sort -z | \
- xargs -0 $(TAR) -cnf - $(TAR_V) | \
+ xargs -0 $(TAR) $(TAR_V) --no-recursion -cf - | \
$(XZ) > $@
$(SOURCE_DIST).zip: $(SOURCE_DIST)