Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / advi


Commits:
8a22828c by Stephane Glondu at 2024-08-25T06:36:26+02:00
Use SOURCE_DATE_EPOCH to set the date in manual

- - - - -
a75e02f6 by Stephane Glondu at 2024-08-25T06:37:04+02:00
Update changelog and prepare upload to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/patches/0008-Use-SOURCE_DATE_EPOCH-for-reproducibility.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+advi (2.0.0-3) unstable; urgency=medium
+
+  * Use SOURCE_DATE_EPOCH to set the date in manual
+
+ -- Stéphane Glondu <[email protected]>  Sun, 25 Aug 2024 06:37:01 +0200
+
 advi (2.0.0-2) unstable; urgency=medium
 
   * Use SOURCE_DATE_EPOCH for reproducibility


=====================================
debian/patches/0008-Use-SOURCE_DATE_EPOCH-for-reproducibility.patch
=====================================
@@ -4,11 +4,25 @@ Subject: Use SOURCE_DATE_EPOCH for reproducibility
 
 Bug-Debian: https://bugs.debian.org/834137
 ---
+ Makefile        | 1 +
  configure.ac    | 5 +++--
  configure.me    | 5 +++--
+ doc/advi.tex    | 1 +
  src/discover.sh | 3 ++-
- 3 files changed, 8 insertions(+), 5 deletions(-)
+ 5 files changed, 10 insertions(+), 5 deletions(-)
 
+diff --git a/Makefile b/Makefile
+index d8a534e..7e003a0 100644
+--- a/Makefile
++++ b/Makefile
+@@ -40,6 +40,7 @@ all: default test examples
+ CONFIG = _build/src/Makefile.config
+ 
+ $(CONFIG): src/Makefile.config
++      date -d@$${SOURCE_DATE_EPOCH:=$$(date +%s)} -u +%F > doc/date.tex
+ 
+ .PHONY: doc doc.manual
+ doc: $(CONFIG)
 diff --git a/configure.ac b/configure.ac
 index edd38d9..92bbbde 100644
 --- a/configure.ac
@@ -41,6 +55,18 @@ index 2b056b0..88e54f8 100755
  
  
  am__api_version='1.11'
+diff --git a/doc/advi.tex b/doc/advi.tex
+index 6cc4c29..710c2ed 100644
+--- a/doc/advi.tex
++++ b/doc/advi.tex
+@@ -72,6 +72,7 @@ Reference manual\\
+ }
+ \fi
+ \author {Didier R{\'{e}}my and Pierre Weis}
++\date {\input{date}}
+ 
+ \thispagestyle{empty}
+ 
 diff --git a/src/discover.sh b/src/discover.sh
 index 19b87ff..6676dc6 100644
 --- a/src/discover.sh



View it on GitLab: 
https://salsa.debian.org/ocaml-team/advi/-/compare/e5b7f9f6659a2318d3e9c5669c7a509b86eff3ad...a75e02f6c106bb6670e8b607cbd086a3c997ed30

-- 
View it on GitLab: 
https://salsa.debian.org/ocaml-team/advi/-/compare/e5b7f9f6659a2318d3e9c5669c7a509b86eff3ad...a75e02f6c106bb6670e8b607cbd086a3c997ed30
You're receiving this email because of your account on salsa.debian.org.


Reply via email to