-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (18 loc) · 736 Bytes
/
Makefile
File metadata and controls
24 lines (18 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
all: plots paper.pdf
clean:
latexmk -c
rm -f paper.pdf paper.bbl plos.bib norm.bib
paper.pdf: paper.tex positionpaper.bib contributors.tex plos.bib
latexmk -pdflatex paper.tex
contributors.tex: contributors.yml contributors_plos.tex.j2
python3 contributors.py $< -t contributors_plos.tex.j2 -o $@
# this step is to convert the input files to proper biblatex files
# so we can turn them into bibtex files later on
norm.bib: positionpaper.bib bibliography.bib
biber --tool $^ --output-file $@
plos.bib: norm.bib
biber --tool $< --output-file $@ \
--configfile=biberconf.xml \
--output-field-replace=location:address,journaltitle:journal
plots::
$(MAKE) -C group_composition_plot