Do not keep latex logs

#598 Declined
Repository
bmwiedemann
Branch
default
Repository
eigen
Branch
default
Author
  1. Bernhard M. Wiedemann
Reviewers
Description

Do not keep latex logs, to make package builds more reproducible.

See https://reproducible-builds.org/ for why this is good.

Comments (4)

  1. Christoph Hertzberg

    My doxygen deletes all temporaries (i.e., _formulas.{tex,dvi,aux,log}) after generating the formulas -- but actually only if it (re-)generated any formula. I guess these files could persist if doxygen accidentally aborted at the wrong moment. If we delete these manually, I think we should also delete the *.tex,dvi,aux files. But I don't think these files influence the build in any way if they exist.

  2. Christoph Hertzberg

    Actually, to get really reproducible builds, wouldn't it be better to remove the entire html subfolder before building the documentation? Especially, if source files get renamed or deleted, we will have left-overs, otherwise.

  3. Bernhard M. Wiedemann author

    At least for openSUSE we do all our package builds in a clean scratch-VM (without network), so pre-existing files are not a problem.

    The latex logs are problematic because they contain the timestamp of the latex run.

    Not sure why they are not removed by doxygen. It seems cmake’s remove command does not throw an error when they are not there (because the .tgz already is not there)