]> code.communitydata.science - cdsc_tex.git/blob - paper_template/Makefile
created a new memoir style for use in simple memos
[cdsc_tex.git] / paper_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         rubber -fd $<
10
11 clean: 
12         rubber -d --clean *.tex
13         rm -f *.tmp
14         rm -f vc
15         rm -f refs-cleaned.bib
16         rm -f refs-processed.bib
17
18 viewpdf: all
19         evince *.pdf
20
21 spell:
22         aspell -c -t --tex-check-comments -b text.tex
23
24 vc:
25         vc-git
26
27 .PHONY: clean all

Community Data Science Collective || Want to submit a patch?