From 12489b7c39a87de59f2745f519e7bc7466663707 Mon Sep 17 00:00:00 2001 From: James Addison Date: Mon, 3 Mar 2025 22:01:22 +0100 Subject: [PATCH] Generate a deterministic gprofng example documentation tarball 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 | 2 +- gprofng/doc/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gprofng/doc/Makefile.am b/gprofng/doc/Makefile.am index 8678f22e3..d43992fb0 100644 --- a/gprofng/doc/Makefile.am +++ b/gprofng/doc/Makefile.am @@ -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 diff --git a/gprofng/doc/Makefile.in b/gprofng/doc/Makefile.in index 162ae4b19..8f99c55c2 100644 --- a/gprofng/doc/Makefile.in +++ b/gprofng/doc/Makefile.in @@ -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 -- 2.30.2