aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-06-04 05:27:36 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-06-04 05:27:36 +0100
commit2c53017c92ad7538317d2da878ff48caa611b93b (patch)
tree54412fdf19d8f2121f01c77aa5e6f18abfbb75a7
parente3bdc607a7fca8ebd876e1fa6002e679ad32f2c4 (diff)
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.
-rw-r--r--reproduce/analysis/make/initialize.mk11
-rw-r--r--reproduce/analysis/make/verify.mk8
2 files changed, 12 insertions, 7 deletions
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