Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | From ce091718716400119d6be6bd637c0e3f4f6ca315 Mon Sep 17 00:00:00 2001 |
| 2 | From: Joshua Watt <JPEWhacker@gmail.com> |
| 3 | Date: Thu, 21 Nov 2019 08:07:41 -0600 |
| 4 | Subject: [PATCH] Make man pages reproducible |
| 5 | |
| 6 | Instructs the man page to be gzip'ed without the file name or timestamp |
| 7 | so that it builds reproducibly. |
| 8 | |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame^] | 9 | Upstream-Status: Backport [https://github.com/smuellerDD/jitterentropy-library/pull/14] |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> |
| 11 | --- |
| 12 | Makefile | 2 +- |
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 14 | |
| 15 | diff --git a/Makefile b/Makefile |
| 16 | index 2e78607..860b720 100644 |
| 17 | --- a/Makefile |
| 18 | +++ b/Makefile |
| 19 | @@ -60,7 +60,7 @@ cppcheck: |
| 20 | install: |
| 21 | install -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man3 |
| 22 | install -m 644 doc/$(NAME).3 $(DESTDIR)$(PREFIX)/share/man/man3/ |
| 23 | - gzip -f -9 $(DESTDIR)$(PREFIX)/share/man/man3/$(NAME).3 |
| 24 | + gzip -n -f -9 $(DESTDIR)$(PREFIX)/share/man/man3/$(NAME).3 |
| 25 | install -d -m 0755 $(DESTDIR)$(PREFIX)/$(LIBDIR) |
| 26 | $(INSTALL_STRIP) -m 0755 lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/ |
| 27 | install -d -m 0755 $(DESTDIR)$(PREFIX)/$(INCDIR) |
| 28 | -- |
| 29 | 2.23.0 |
| 30 | |