summaryrefslogtreecommitdiff
path: root/tex/presentation/Makefile
blob: 0d171d759214593600c211f06378d6d8a457806f (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 '*~'`