diff options
Diffstat (limited to 'reproduce/analysis/make')
-rw-r--r-- | reproduce/analysis/make/initialize.mk | 6 | ||||
-rw-r--r-- | reproduce/analysis/make/paper.mk | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/reproduce/analysis/make/initialize.mk b/reproduce/analysis/make/initialize.mk index 9ce157d..6431863 100644 --- a/reproduce/analysis/make/initialize.mk +++ b/reproduce/analysis/make/initialize.mk @@ -506,3 +506,9 @@ $(mtexdir)/initialize.tex: | $(mtexdir) # case, we'll just return the string a clear string. v=$$(git describe --always --long maneage) || v=maneage-ref-missing echo "\newcommand{\maneageversion}{$$v}" >> $@ + + # Get the date of the most recent commit from the Maneage + # branch. Note that with '%aD', the format looks like this: + # Wed, 9 Sep 2020 10:08:20 +0200 + v=$$(git show -s --format=%aD $$v | awk '{print $$2, $$3, $$4}') + echo "\newcommand{\maneagedate}{$$v}" >> $@ diff --git a/reproduce/analysis/make/paper.mk b/reproduce/analysis/make/paper.mk index de7b87f..3bb6a8c 100644 --- a/reproduce/analysis/make/paper.mk +++ b/reproduce/analysis/make/paper.mk @@ -202,7 +202,7 @@ paper.pdf: $(mtexdir)/project.tex paper.tex $(texbdir)/paper.bbl # conversion from PostScript to PDF, see # https://www.ghostscript.com/doc/current/Language.htm#Transparency dvips paper.dvi - ps2pdf -dNOSAFER paper.ps + ps2pdf paper.ps # Come back to the top project directory and copy the built PDF # file here. |