summaryrefslogtreecommitdiff
path: root/tex/thesis/Makefile
blob: ee64d9e8abc02418a8d51775b1cf68c42c9b5967 (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
29
30
31
32
33

PROJ = thesis

.PHONY: all pdf wc clean

all: pdf clean

pdf: clean
	pdflatex $(PROJ)
	bibtex $(PROJ)
	pdflatex $(PROJ)
	pdflatex $(PROJ)

remote:
	rsync -r * honours:honours/tex/thesis/
	ssh honours "cd honours/tex/thesis; make"
	rsync honours:honours/tex/thesis/thesis.pdf .

wc:
	wc `find . -name "*.tex"`

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 '*~'`