]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
makefile: Add a reproducible dist make job
authorDavid Goulet <dgoulet@torproject.org>
Thu, 28 Oct 2021 20:29:22 +0000 (16:29 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Thu, 28 Oct 2021 20:29:37 +0000 (16:29 -0400)
Signed-off-by: David Goulet <dgoulet@torproject.org>
Makefile.am

index 3056b084469f771e6201c7d1c8d2d4dfc6634834..c889945d5a0f9020186d8892279c0a308fa85020 100644 (file)
@@ -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)"