From: Jacob Lifshay Date: Tue, 6 Sep 2022 06:52:53 +0000 (-0700) Subject: make pdf generation much more reproducible -- now basically only timestamps change X-Git-Tag: opf_rfc_ls005_v1~663 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b71c096ccdcdb8fd583d6cbe5fecfde10d9965c9;p=libreriscv.git make pdf generation much more reproducible -- now basically only timestamps change --- diff --git a/openpower/Makefile b/openpower/Makefile index dfc838861..0d4f575cf 100755 --- a/openpower/Makefile +++ b/openpower/Makefile @@ -422,9 +422,15 @@ tex_out/pseudocode_fpcvt.tex : $(ISA_DIR)/fpcvt.mdwn -N -o tex_out/pseudocode_fpcvt.tex \ $(ISA_DIR)/fpcvt.mdwn - - -simple_v_spec.pdf : tex simple_v_spec.tex +simple_v_spec.pdf : $(SOURCE_TEX) simple_v_spec.tex + # clean up old files to make it more reproducable + rm -vfr simple_v_spec.aux simple_v_spec.log simple_v_spec.pdf \ + simple_v_spec.out simple_v_spec.toc simple_v_spec.bbl \ + simple_v_spec.blg simple_v_spec.synctex.gz \ + svp64-primer/summary.aux + # run pdflatex twice because the first run creates files needed to + # properly create the PDF outline by the second run + pdflatex -synctex=1 -interaction=nonstopmode simple_v_spec.tex pdflatex -synctex=1 -interaction=nonstopmode simple_v_spec.tex bibtex simple_v_spec.aux