Generate a deterministic gprofng example documentation tarball
authorJames Addison <jay@jp-hosting.net>
Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)
committerMatthias Klose <doko@debian.org>
Mon, 3 Feb 2025 05:36:41 +0000 (06:36 +0100)
Bug-Debian: https://bugs.debian.org/1090395
Bug-Debian: https://bugs.debian.org/1092870
Last-Update: 2025-01-13

Gbp-Pq: Name gprofng-examples-tgz-deterministic.diff

gprofng/doc/Makefile.am
gprofng/doc/Makefile.in

index 8678f22e3a4406914fcad7458a6f3fc1383ba357..d43992fb041924564a0b9efe7c08e73a4bb1626d 100644 (file)
@@ -61,7 +61,7 @@ EXTRA_DIST = $(man_MANS) version.texi
 info: $(man_MANS)
 
 examples.tar.gz:
-       $(AM_V_at)( tar czf $@ $(srcdir)/../examples )
+       $(AM_V_at)( tar czf $@ --sort=name --mtime="@${SOURCE_DATE_EPOCH}" --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime --mode=a=rX,u+w $(srcdir)/../examples )
 
 .PHONY: install-data-local
 
index 162ae4b19c1874c7ac538c7f8c28e2568d212006..8f99c55c24d14e18711b7893fc8883e2064d8a68 100644 (file)
@@ -895,7 +895,7 @@ gprofng-display-text.1: $(srcdir)/gprofng-display-text.texi
 info: $(man_MANS)
 
 examples.tar.gz:
-       $(AM_V_at)( tar czf $@ $(srcdir)/../examples )
+       $(AM_V_at)( tar czf $@ --sort=name --mtime="@${SOURCE_DATE_EPOCH}" --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime --mode=a=rX,u+w $(srcdir)/../examples )
 
 .PHONY: install-data-local