[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 8da8105ee2f6b17aa3c3243eb8c406b509296802
Author: David Goulet <dgoulet@xxxxxxxxxxxxxx>
Date:   Thu Oct 28 16:29:22 2021 -0400

    makefile: Add a reproducible dist make job
    
    Signed-off-by: David Goulet <dgoulet@xxxxxxxxxxxxxx>
---
 Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 3056b08446..c889945d5a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -739,3 +739,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)"



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits