summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d417ae3b08..27e13bd2af 100644
--- a/Makefile
+++ b/Makefile
@@ -244,23 +244,23 @@ $(SOURCE_DIST): $(ERLANG_MK_RECURSIVE_DEPS_LIST)
done
$(SOURCE_DIST).tar.gz: $(SOURCE_DIST)
- $(gen_verbose) LC_COLLATE=C find -s $(SOURCE_DIST) -print0 | \
+ $(gen_verbose) find $(SOURCE_DIST) -print0 | LC_COLLATE=C sort -z | \
xargs -0 $(TAR) -cnf - $(TAR_V) | \
$(GZIP) --best > $@
$(SOURCE_DIST).tar.bz2: $(SOURCE_DIST)
- $(gen_verbose) LC_COLLATE=C find -s $(SOURCE_DIST) -print0 | \
+ $(gen_verbose) find $(SOURCE_DIST) -print0 | LC_COLLATE=C sort -z | \
xargs -0 $(TAR) -cnf - $(TAR_V) | \
$(BZIP2) > $@
$(SOURCE_DIST).tar.xz: $(SOURCE_DIST)
- $(gen_verbose) LC_COLLATE=C find -s $(SOURCE_DIST) -print0 | \
+ $(gen_verbose) find $(SOURCE_DIST) -print0 | LC_COLLATE=C sort -z | \
xargs -0 $(TAR) -cnf - $(TAR_V) | \
$(XZ) > $@
$(SOURCE_DIST).zip: $(SOURCE_DIST)
$(verbose) rm -f $@
- $(gen_verbose) LC_COLLATE=C find -s $(SOURCE_DIST) -print0 | \
+ $(gen_verbose) find $(SOURCE_DIST) -print0 | LC_COLLATE=C sort -z | \
xargs -0 $(ZIP) $(ZIP_V) $@
clean:: clean-source-dist