X-Git-Url: https://code.communitydata.science/cdsc_tex.git/blobdiff_plain/b30e702ef1d568dcc01516357116d9238b118d20..fc613f1b2616baa3771d8ced10d15cd45168e3dd:/paper_template/Makefile?ds=inline diff --git a/paper_template/Makefile b/paper_template/Makefile index b219b72..a831bb3 100644 --- a/paper_template/Makefile +++ b/paper_template/Makefile @@ -1,10 +1,12 @@ #!/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 perl -p -e 's/©//' refs.bib > refs-cleaned.bib + perl -0pe 's/,\s+(file|abstract) = \{.*?\}(,\n|\n)/\2/sg' refs-cleaned.bib |sponge refs-cleaned.bib recode -d u8..ltex < refs-cleaned.bib > refs-processed.bib rubber -fd $<