From d86be66b9925c506a100ab5dddc22de23f145821 Mon Sep 17 00:00:00 2001 From: Robin Candau Date: Fri, 7 Feb 2025 13:44:37 +0100 Subject: [PATCH] chore: Get rid of gzip timestamps during build to make Zaman reproducible `gzip` saves timestamps by default, which prevents reproducible builds. Get rid of timestamps with the `-n` option to make Zaman reproducible. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a853ced..212cc1d 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ build: scdoc < "doc/man/${pkgname}.1.scd" > "doc/man/${pkgname}.1" # Archive man page - gzip -c "doc/man/${pkgname}.1" > "doc/man/${pkgname}.1.gz" + gzip -nc "doc/man/${pkgname}.1" > "doc/man/${pkgname}.1.gz" test: # Run some simple unit tests on basic functions