]> projects.mako.cc - beamer-mako/blob - template/Makefile
1dd9601a295ae2415519b64533ff65ba8ac740f6
[beamer-mako] / template / Makefile
1 #!/usr/bin/make
2
3 all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) 
4 pdf: all
5
6 %.pdf: %.tex
7         perl -p -e 's/©//' refs.bib > refs-cleaned.bib
8         recode -d u8..ltex < refs-cleaned.bib > refs-processed.bib
9         mogrify -format pdf figures/logo.svg
10         rubber -fd $<
11         extract-notes $<
12
13 clean: 
14         rubber -d --clean *.tex
15         rm -f *.tmp
16         rm -f vc
17         rm -f refs-cleaned.bib
18         rm -f refs-processed.bib
19         rm -f figures/logo.pdf
20         rm -f *.pdfpc
21
22 viewpdf: all
23         evince *.pdf
24
25 spell:
26         aspell -c -t --tex-check-comments -b text.tex
27
28 vc:
29         vc-git
30
31
32
33 .PHONY: clean all

Benjamin Mako Hill || Want to submit a patch?