summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-08-17 18:17:36 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-08-17 18:17:36 +0200
commitaca39fdb78fbc9d3f847d2a067f30dffcbab3aa2 (patch)
treee967c76165dbdaabf2454252e7648f320f042a66 /Makefile
parent41406f8b4a33bdfcf302d3c1c69c5f035f7aa210 (diff)
Normalize file permissions when creating source distributions.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dcd9b837..8ec19ee4 100644
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,7 @@ SOURCE_DATE_EPOCH = $(shell git show -s --no-show-signature --format=%cI)
TAR_FLAGS = --sort=name \
--mtime="$(SOURCE_DATE_EPOCH)" \
--owner=0 --group=0 --numeric-owner \
+ --mode=go=rX,u+rw,a-s \
--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime
ifeq ($(shell uname -s), Darwin)