]> 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:45 +0000 (16:29 -0400)
Signed-off-by: David Goulet <dgoulet@torproject.org>
Makefile.am

index df3f88d6f57ac8e183903a1c4762fd6cc8907e92..b059496688ced5c05236dd376dd67f266b343024 100644 (file)
@@ -680,3 +680,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)"