added commonly used packages
[latex_mako] / Makefile
1 #!/usr/bin/make
2
3 all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) 
4
5
6 %.pdf: %.png
7         png2pdf -p 1.4 -a $< $@
8
9 %.pdf: %.tex 
10         rubber -fd $<
11
12 clean: 
13         rubber -d --clean *.tex
14         rm -f *.tmp
15         rm -f figures/*.pdf
16
17 viewpdf: pdf
18         evince text.pdf
19
20 spell:
21         aspell -c -t --tex-check-comments -b text.tex
22
23
24 .PHONY: clean all

Benjamin Mako Hill || Want to submit a patch?