]> projects.mako.cc - beamer-mako/blob - Makefile
1b7191de523ee1b9ef5fb1a14a041b67b0d1e09a
[beamer-mako] / 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
12 clean: 
13         rubber -d --clean *.tex
14         rm -f *.tmp
15         rm -f vc
16         rm -f refs-cleaned.bib
17         rm -f refs-processed.bib
18         rm -f figures/logo.pdf
19
20 viewpdf: all
21         evince *.pdf
22
23 spell:
24         aspell -c -t --tex-check-comments -b text.tex
25
26 vc:
27         vc-git
28
29
30
31 .PHONY: clean all

Benjamin Mako Hill || Want to submit a patch?