File: 0007-Set-timestamp-on-generated-preview-latex.el-file.patch

package info (click to toggle)
auctex 13.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,440 kB
  • sloc: lisp: 53,963; makefile: 835; sh: 112; perl: 91
file content (27 lines) | stat: -rw-r--r-- 906 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 25 Jun 2021 03:38:05 +0000
Subject: Set timestamp on generated preview-latex.el file

To avoid embedding timestamps in the shipped .el file.

https://tests.reproducible-builds.org/debian/issues/timestamps_in_emacs_autoloads_issue.html
https://bugs.debian.org/824050
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22213

Forwarded: not-needed
---
 Makefile.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.in b/Makefile.in
index 6244269..47ea026 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -249,6 +249,7 @@ lisp:	tex-site.el $(AUCSRC) $(STYLESRC) $(PREVIEWSRC)
 
 preview-latex.el: preview.el
 	rm -f preview-latex.el
+	touch --reference debian/copyright preview-latex.el ; \
 	-$(EMACS) -batch -no-site-file -no-init-file $(PREVIEW_AUTOLOAD) ; \
 	test -r $@ || { \
 	  echo ";; Auto-generated preview-latex.el" > $@ ; \