rlm@426: #INVOKE_LATEX = pdflatex -shell-escape thesis.tex; rlm@427: THESIS_NAME = rlm-cortex-meng rlm@427: INVOKE_LATEX = texi2dvi --shell-escape --pdf -V --batch $(THESIS_NAME).tex; rlm@450: #INVOKE_LATEX = texi2dvi --shell-escape --pdf -V $(THESIS_NAME).tex; rlm@425: rlm@422: all: rlm@428: ./weave-thesis.sh cortex rlm@443: rsync -avz --delete --exclude "video" \ rlm@443: /home/r/proj/cortex/thesis "r@aurellem.org:~" rlm@429: ssh r@aurellem.org cd "~/thesis; $(INVOKE_LATEX)" rlm@427: scp "r@aurellem.org:/home/r/thesis/$(THESIS_NAME).pdf" . rlm@489: rm cortex.tex abstract.tex rlm@422: rlm@422: rlm@422: rlm@422: