From aa497f723120a483112e820e8adff0a321c2a078 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 14 Nov 2024 07:35:11 +0000 Subject: [PATCH] Makefile: Add -n to gzip To make the resulting files reproducible. -n --no-name When compressing, do not save the original file name and timestamp by default. Signed-off-by: Robert Yang --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b99b141..7c1ee84 100644 --- a/Makefile +++ b/Makefile @@ -107,9 +107,9 @@ install-docs: install -m 644 -D README $(DESTDIR)$(DOCDIR)/README install -m 644 -D README.pybootchart $(DESTDIR)$(DOCDIR)/README.pybootchart mkdir -p $(DESTDIR)$(MANDIR) - gzip -c bootchart2.1 > $(DESTDIR)$(MANDIR)/bootchart2.1.gz - gzip -c bootchartd.1 > $(DESTDIR)$(MANDIR)/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX).1.gz - gzip -c pybootchartgui.1 > $(DESTDIR)$(MANDIR)/pybootchartgui.1.gz + gzip -n -c bootchart2.1 > $(DESTDIR)$(MANDIR)/bootchart2.1.gz + gzip -n -c bootchartd.1 > $(DESTDIR)$(MANDIR)/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX).1.gz + gzip -n -c pybootchartgui.1 > $(DESTDIR)$(MANDIR)/pybootchartgui.1.gz install-service: mkdir -p $(DESTDIR)$(SYSTEMD_UNIT_DIR)