atmafox / FFRPG4e

FFRPG4e by Bruno Carvalho
http://ffrpg4e.wikidot.com
Other
6 stars 0 forks source link

Reproducible build system #280

Open atmafox opened 4 years ago

atmafox commented 4 years ago

We should create a build system that reproducibly generates a PDF -- i.e. at any time we can generate a PDF with the same checksum using the same sources/build script.

atmafox commented 4 years ago

https://tex.stackexchange.com/questions/229605/reproducible-latex-builds-compile-to-a-file-which-always-hashes-to-the-same-va

atmafox commented 4 years ago

Tested by adding: $ENV{SOURCE_DATE_EPOCH} = '1577516400' to latexmkrc and built twice, works for reproducible build with the caveat that file modification times must be preserved to avoid the last modified timestamp changing.