1. Tweaked the refs.bib work in the makefile so that it removes the refs-cleaned.bib intermediary step and so that it only rebuilds the refs when it needs to. 2. Tweaked the article-2 stylesheet so that subsubsection headers are not smaller than normal text. 3. Changed the list rendering so that it's smaller (firmlists).
31 lines
612 B
Makefile
31 lines
612 B
Makefile
#!/usr/bin/make
|
|
|
|
#all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))
|
|
all: project_description.pdf references.pdf
|
|
pdf: all
|
|
|
|
refs-processed.bib:
|
|
perl -p -e 's/©//' refs.bib > refs-processed.bib
|
|
perl -0pe 's/,\s+(file|abstract) = \{.*?\}(,\n|\n)/\2/sg' refs-processed.bib |sponge refs-processed.bib
|
|
recode -d u8..ltex < refs-processed.bib | sponge refs-processed.bib
|
|
|
|
%.pdf: %.tex refs-processed.bib
|
|
rubber -fd $<
|
|
|
|
clean:
|
|
rubber -d --clean *.tex
|
|
rm -f *.tmp
|
|
rm -f vc
|
|
rm -f refs-processed.bib
|
|
|
|
viewpdf: all
|
|
evince *.pdf
|
|
|
|
spell:
|
|
aspell -c -t --tex-check-comments -b text.tex
|
|
|
|
vc:
|
|
vc-git
|
|
|
|
.PHONY: clean all
|