[Git][reproducible-builds/reproducible-presentations][master] scale there and back again: Make pdf generation reproducible!!!!!

Vagrant Cascadian gitlab at salsa.debian.org
Sun Mar 8 02:25:21 UTC 2020



Vagrant Cascadian pushed to branch master at Reproducible Builds / reproducible-presentations


Commits:
66b734e1 by Vagrant Cascadian at 2020-03-07T18:22:37-08:00
scale there and back again: Make pdf generation reproducible!!!!!
Huge thanks to Dima!

- - - - -


1 changed file:

- 2020-03-08-SCALE-There-and-Back-Again-Reproducibly/Makefile


Changes:

=====================================
2020-03-08-SCALE-There-and-Back-Again-Reproducibly/Makefile
=====================================
@@ -2,11 +2,13 @@
 #
 # needs: apt install emacs texlive-latex-extra org-mode
 
+export FORCE_SOURCE_DATE = 1
+export SOURCE_DATE_EPOCH := $(shell date --utc --date '2020-03-08 16:30' +%s)
+
 all: $(patsubst %.org,%.pdf,$(wildcard *.org))
 
 %.pdf: %.org
-	emacs --batch --eval '(progn (find-file "$<") (org-beamer-export-to-pdf))'
-	rm -f *.tex
+	emacs -Q --batch --eval '(progn (random "0") (find-file "$<") (org-beamer-export-to-pdf))'
 
 clean:
 	rm -f *.pdf *.tex *.png



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-presentations/-/commit/66b734e16fcdbbe53c7bceab91f29b33c50cd0c7

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-presentations/-/commit/66b734e16fcdbbe53c7bceab91f29b33c50cd0c7
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200308/adb25fe4/attachment.htm>


More information about the rb-commits mailing list