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