]> projects.mako.cc - latex_mako/blob - letter_template/Makefile
make .tex files .PRECIOUS
[latex_mako] / letter_template / Makefile
1 #!/usr/bin/make
2
3 all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) 
4
5 %.pdf: %.tex 
6         latexmk -f -pdf $<
7
8 clean: 
9         latexmk -C *.tex
10         rm -f *.tmp
11         rm -f vc
12
13 viewpdf: all
14         evince *.pdf
15
16 vc:
17         vc-git
18
19 pdf: all
20
21 .PHONY: clean all

Benjamin Mako Hill || Want to submit a patch?