comparison thesis/Makefile @ 546:f4770e3d30ae

abstract Makefile.
author Robert McIntyre <rlm@mit.edu>
date Mon, 28 Apr 2014 13:14:52 -0400
parents 0012db79d61a
children 0b891e0dd809
comparison
equal deleted inserted replaced
545:b2c66ea58c39 546:f4770e3d30ae
2 THESIS_NAME = rlm-cortex-meng 2 THESIS_NAME = rlm-cortex-meng
3 #INVOKE_LATEX = texi2dvi --shell-escape --pdf -V --batch $(THESIS_NAME).tex; 3 #INVOKE_LATEX = texi2dvi --shell-escape --pdf -V --batch $(THESIS_NAME).tex;
4 LATEX = pdflatex --shell-escape $(THESIS_NAME) 4 LATEX = pdflatex --shell-escape $(THESIS_NAME)
5 INVOKE_LATEX = $(LATEX); bibtex $(THESIS_NAME); $(LATEX); $(LATEX); 5 INVOKE_LATEX = $(LATEX); bibtex $(THESIS_NAME); $(LATEX); $(LATEX);
6 6
7 all: 7 thesis:
8 ./weave-thesis.sh cortex 8 ./weave-thesis.sh cortex
9 rsync -avz --delete --exclude "video" \ 9 rsync -avz --delete --exclude "video" \
10 /home/r/proj/cortex/thesis "r@aurellem.org:~" 10 /home/r/proj/cortex/thesis "r@aurellem.org:~"
11 rm cortex.tex abstract.tex 11 rm cortex.tex abstract.tex
12 ssh r@aurellem.org cd "~/thesis; $(INVOKE_LATEX)" 12 ssh r@aurellem.org cd "~/thesis; $(INVOKE_LATEX)"
13 scp "r@aurellem.org:/home/r/thesis/$(THESIS_NAME).pdf" .
14 13
15 scp: 14 scp:
16 scp "r@aurellem.org:/home/r/thesis/$(THESIS_NAME).pdf" . 15 scp "r@aurellem.org:/home/r/thesis/$(THESIS_NAME).pdf" .
17 16
17 all: thesis scp