From 2c53017c92ad7538317d2da878ff48caa611b93b Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Thu, 4 Jun 2020 05:27:36 +0100 Subject: Minor improvements in the make dist command for this paper This paper doesn't use pdflatex or biblatex, so it was necessary to make some small corrections in the make-dist rule of initialize.mk. Also, while testing the upload on arXiv, I noticed that it complains about an empty 'verify.tex' file, so that is also corrected. --- reproduce/analysis/make/initialize.mk | 11 +++++++---- reproduce/analysis/make/verify.mk | 8 +++++--- 2 files changed, 12 insertions(+), 7 deletions(-) (limited to 'reproduce/analysis') diff --git a/reproduce/analysis/make/initialize.mk b/reproduce/analysis/make/initialize.mk index b0701f4..450b673 100644 --- a/reproduce/analysis/make/initialize.mk +++ b/reproduce/analysis/make/initialize.mk @@ -274,10 +274,13 @@ $(packagecontents): paper.pdf | $(texdir) # (including the bibliography). m=$$dir/Makefile echo "paper.pdf: paper.tex paper.bbl" > $$m - printf "\tpdflatex -shell-escape -halt-on-error paper\n" >> $$m + printf "\tlatex -shell-escape -halt-on-error paper\n" >> $$m + printf "\tdvips paper.dvi\n" >> $$m + printf "\tps2pdf -dNOSAFER paper.ps\n" >> $$m echo "paper.bbl: tex/src/references.tex" >> $$m - printf "\tpdflatex -shell-escape -halt-on-error paper\n" >> $$m - printf "\tbiber paper\n" >> $$m + printf "\tlatex -shell-escape -halt-on-error paper\n" >> $$m + printf "\tbibtex paper\n" >> $$m + printf "\tlatex -shell-escape -halt-on-error paper\n" >> $$m echo ".PHONY: clean" >> $$m echo "clean:" >> $$m printf "\trm -f *.aux *.auxlock *.bbl *.bcf\n" >> $$m @@ -299,7 +302,7 @@ $(packagecontents): paper.pdf | $(texdir) shopt -s extglob cp -r tex/src $$dir/tex/src cp -r tex/img $$dir/tex/img - cp tex/tikz/*.pdf $$dir/tex/tikz + cp tex/tikz/*.eps $$dir/tex/tikz cp -r reproduce/* $$dir/reproduce for d in $$(find tex/build/ -mindepth 1 -maxdepth 1 -type d \ ! -name $(packagebasename)); do diff --git a/reproduce/analysis/make/verify.mk b/reproduce/analysis/make/verify.mk index 1573920..fb8afc0 100644 --- a/reproduce/analysis/make/verify.mk +++ b/reproduce/analysis/make/verify.mk @@ -119,7 +119,9 @@ $(mtexdir)/verify.tex: $(foreach s, $(verify-dep), $(mtexdir)/$(s).tex) fi $(call verify-txt-no-comments-leading-space, $$file, $$s) done - fi - # Make an empty final target. - touch $@ + # Make an empty final target. + echo "%% Project outputs are verified." > $@ + else + echo "%% Project outputs NOT VERIFIED!!!" > $@ + fi -- cgit v1.2.1