-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (19 loc) · 698 Bytes
/
Makefile
File metadata and controls
25 lines (19 loc) · 698 Bytes
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
all: output/resume.pdf output/resume.txt
files=output/resume.pdf resume.html output/resume.tex resume.yaml output/resume.txt
# TODO: use rsync
.PHONY: publish
publish: output/resume.pdf resume.html
scp $(files) david:~/www/resume/
scp $(files) david:~/www/
scp $(files) dyhu@csclub.uwaterloo.ca:~/www/
cp output/resume.pdf submit/davidhu-resume.pdf
output/resume.pdf: output/resume.tex res.cls
pdflatex -interaction=batchmode -output-directory output $<
output/resume.tex: templates/resume.tex.tmpl resume.yaml genresumes.py
./genresumes.py tex
output/resume.txt: templates/resume.txt.tmpl resume.yaml genresumes.py
./genresumes.py txt
.PHONY: clean
clean:
rm -rf output
rm -f *.pyc