summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-03-30 16:11:45 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-03-30 16:12:07 -0700
commit20fa40ddd3e49b73cf2127a147d3b4ee03a3b5ba (patch)
tree4306d0885cac75189e022f66b0eb5ab3462d966c /make-dist
parent6c48146f46a443b1e11b58c52dd8f2e5d9feb21c (diff)
downloademacs-20fa40ddd3e49b73cf2127a147d3b4ee03a3b5ba.tar.gz
Improve doc for web pages; reproducible tarballs
* admin/make-tarball.txt: Make the tarballs more reproducible. Fix instructions for web pages as best I can (they are still incomplete). * make-dist (default_gzip): Add --no-name for gzip. (taropt): Add options to make the build more reproducible.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist8
1 files changed, 4 insertions, 4 deletions
diff --git a/make-dist b/make-dist
index 26247b37bca..48c7fb4fb7e 100755
--- a/make-dist
+++ b/make-dist
@@ -639,14 +639,14 @@ if [ "${make_tar}" = yes ]; then
case "${default_gzip}" in
bzip2) gzip_extension=.bz2 ;;
xz) gzip_extension=.xz ;;
- gzip) gzip_extension=.gz ; default_gzip="gzip --best";;
+ gzip) gzip_extension=.gz ; default_gzip="gzip --best --no-name";;
*) gzip_extension= ;;
esac
echo "Creating tar file"
- taropt=
- [ "$verbose" = "yes" ] && taropt=v
+ taropt='--numeric-owner --owner=0 --group=0 --mode=go+u,go-w --sort=name'
+ [ "$verbose" = "yes" ] && taropt="$taropt --verbose"
- (cd ${tempparent} ; tar c${taropt}f - ${emacsname} ) \
+ (cd ${tempparent} ; tar $taropt -cf - ${emacsname} ) \
| ${default_gzip} \
> ${emacsname}.tar${gzip_extension}
fi