X-Git-Url: https://projects.mako.cc/source/latex_mako/blobdiff_plain/de4773b84b1195521b56eef4caf5c40d9eb64c67..8e6dd96bbe87bfbee82d699f93d84a0d4a356b9d:/paper_template/Makefile diff --git a/paper_template/Makefile b/paper_template/Makefile index 1b183d1..e78e0f4 100644 --- a/paper_template/Makefile +++ b/paper_template/Makefile @@ -1,10 +1,15 @@ #!/usr/bin/make -all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) +#all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) +all: project_description.pdf references.pdf pdf: all -%.pdf: %.tex - recode -d u8..ltex < refs.bib > refs-processed.bib +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: