From 2e527f2f0fcf1069a5f1038eb1413caee86e883d Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Wed, 13 May 2026 18:00:35 +0200 Subject: [PATCH] add build command readme for reproducible build --- Makefile | 1 + readme.md | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 080235e..f0057ba 100644 --- a/Makefile +++ b/Makefile @@ -116,4 +116,5 @@ $(BUILDDIR)/$(PACKAGENAME).deb: \ $(PACKAGEDIR)/DEBIAN/control mkdir -p $(@D) + umask 0022 cd build && dpkg-deb --build --root-owner-group $(PACKAGENAME) \ No newline at end of file diff --git a/readme.md b/readme.md index 4b2b3b0..20d74ea 100644 --- a/readme.md +++ b/readme.md @@ -9,6 +9,13 @@ it can scan many pages with cut page into multiple pdfs. - scantopdfgray - scan into gray pdf - scantopdfbw - scan into black and white pdf +## Build + +``` +export SOURCE_DATE_EPOCH=$(git log --max-count=1 --pretty='%ct') +make +``` + ## Usage scan 5 pages into one pdf `test.pdf` -- 2.47.3