Commit 24facde9 by Zidong Du

nips

parent 415392c7
MAKE = make
file = main
file_tex = main.tex
all: paper-writting paper-submission
paper-writting:
pdflatex -jobname $@ "\newcommand{\submitmode}{false}\input{$(file)}"
pdflatex -jobname $@ "\newcommand{\submitmode}{false}\input{$(file)}"
bibtex $@
pdflatex -jobname $@ "\newcommand{\submitmode}{false}\input{$(file)}"
pdflatex -jobname $@ "\newcommand{\submitmode}{false}\input{$(file)}"
paper-submission:
pdflatex -jobname $@ "\newcommand{\submitmode}{true}\input{$(file)}"
pdflatex -jobname $@ "\newcommand{\submitmode}{true}\input{$(file)}"
bibtex $@
pdflatex -jobname $@ "\newcommand{\submitmode}{true}\input{$(file)}"
pdflatex -jobname $@ "\newcommand{\submitmode}{true}\input{$(file)}"
final:
pdflatex -jobname $@ "\newcommand{\submitmode}{true}\input{$(file)}"
pdflatex -jobname $@ "\newcommand{\submitmode}{true}\input{$(file)}"
bibtex $@
pdflatex -jobname $@ "\newcommand{\submitmode}{true}\input{$(file)}"
pdflatex -jobname $@ "\newcommand{\submitmode}{true}\input{$(file)}"
pdftops final.pdf
ps2pdf14 -dPDFSETTINGS=/prepress final.pdf final-output.pdf
push:
git push origin master:master
clean:
rm -f *.aux *.bbl *.blg *.log *.out *.pdf *.gz *.fls *.fdb_latexmk
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment