aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2021-10-28 16:29:22 -0400
committerDavid Goulet <dgoulet@torproject.org>2021-10-28 16:29:22 -0400
commit8cf6f9183c4cb8bbf6431f07c433eb7ab37a638d (patch)
tree2bfd78f0be223514ef46a2ea1133e54a5711421d
parentd37273be0dc5f3b6b9fb30b95ba3978772f30dd4 (diff)
downloadtor-8cf6f9183c4cb8bbf6431f07c433eb7ab37a638d.tar.gz
tor-8cf6f9183c4cb8bbf6431f07c433eb7ab37a638d.zip
makefile: Add a reproducible dist make job
Signed-off-by: David Goulet <dgoulet@torproject.org>
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c7bc514287..7cae870706 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -484,3 +484,7 @@ lsp:
else \
echo "No bear command found. On debian, apt install bear"; \
fi
+
+# Reproducible tarball. We change the tar options for this.
+dist-reprod:
+ $(MAKE) dist am__tar="$${TAR-tar} --format=gnu --owner=root --group=root --sort=name --mtime=\"`git show --no-patch --format='%ci'`\" -chof - $(distdir)"