summaryrefslogtreecommitdiff
path: root/tex/presentation/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tex/presentation/Makefile')
-rw-r--r--tex/presentation/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/tex/presentation/Makefile b/tex/presentation/Makefile
new file mode 100644
index 0000000..0d171d7
--- /dev/null
+++ b/tex/presentation/Makefile
@@ -0,0 +1,28 @@
+all: presentation.pdf
+
+.PHONY: remote clean
+remote:
+ ssh honours "mkdir -p tmp/tex/presentation"
+ rm -f presentation.pdf
+ rsync -r . "honours:tmp/tex/presentation"
+ ssh honours "cd tmp/tex/presentation; make clean; make"
+ scp "honours:tmp/tex/presentation/presentation.pdf" .
+
+presentation.pdf: presentation.tex
+ pdflatex presentation
+ bibtex presentation
+ pdflatex presentation
+ pdflatex presentation
+
+clean:
+ rm -f `find . -name '*.log'`
+ rm -f `find . -name '*.dvi'`
+ rm -f `find . -name '*.ps'`
+ rm -f `find . -name '*.aux'`
+ rm -f `find . -name '*.blg'`
+ rm -f `find . -name '*.bbl'`
+ rm -f `find . -name '*.toc'`
+ rm -f `find . -name '*.lof'`
+ rm -f `find . -name '*.lot'`
+ rm -f `find . -name '*.out'`
+ rm -f `find . -name '*~'`