[tor/maint-0.3.5] makefile: Add a reproducible dist make job

commit 8cf6f9183c4cb8bbf6431f07c433eb7ab37a638d Author: David Goulet <dgoulet@torproject.org> Date: Thu Oct 28 16:29:22 2021 -0400 makefile: Add a reproducible dist make job Signed-off-by: David Goulet <dgoulet@torproject.org> --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) 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)"
participants (1)
-
dgoulet@torproject.org