Skip to content

Commit aecba8f

Browse files
authored
Merge pull request #108 from mhagdorn/makefiles
Makefiles
2 parents 8fc9175 + 1aca833 commit aecba8f

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,3 +304,6 @@ paper.pdf
304304
contributors.tex
305305

306306
*.tar.gz
307+
308+
# ignore backup files
309+
*~

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
all: plots paper.pdf
2+
3+
paper.pdf: paper.tex positionpaper.bib contributors.tex
4+
latexmk -pdflatex paper.tex
5+
6+
contributors.tex: contributors.tex.j2 contributors.yml
7+
python3 contributors.py
8+
9+
plots::
10+
$(MAKE) -C group_composition_plot

group_composition_plot/Makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
GOOD = $(wildcard submissions/good/*.json)
2+
GOOD_PLOTS = $(patsubst submissions/good/%.json,pdf/%.pdf,$(GOOD))
3+
4+
all: group_composition_plot_the_fantastic_four.pdf \
5+
group_composition_plot_all.pdf \
6+
$(GOOD_PLOTS)
7+
8+
group_composition_plot_the_fantastic_four.pdf: submissions/2023-12-06/Friedrich_Schiller_University_Jena_2023-12-06_10-43-44.json \
9+
submissions/2023-12-06/Scientific_Software_Center_2023-12-21_13-13-27.json \
10+
submissions/2023-12-06/University_of_Reading_2023-12-11_10-18-14.json \
11+
submissions/2023-12-06/Princeton_University_2023-11-29_18-33-21.json
12+
./group_composition_plot.py --legend --outfile $@ $^
13+
14+
group_composition_plot_all.pdf: $(GOOD)
15+
./group_composition_plot.py --legend --outfile $@ $^
16+
17+
pdf/%.pdf: submissions/good/%.json
18+
mkdir -p pdf
19+
./group_composition_plot.py --outfile $@ $^

0 commit comments

Comments
 (0)