Skip to content

Commit

Permalink
Merge pull request #108 from mhagdorn/makefiles
Browse files Browse the repository at this point in the history
Makefiles
  • Loading branch information
dokempf authored Feb 10, 2025
2 parents 8fc9175 + 1aca833 commit aecba8f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -304,3 +304,6 @@ paper.pdf
contributors.tex

*.tar.gz

# ignore backup files
*~
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
all: plots paper.pdf

paper.pdf: paper.tex positionpaper.bib contributors.tex
latexmk -pdflatex paper.tex

contributors.tex: contributors.tex.j2 contributors.yml
python3 contributors.py

plots::
$(MAKE) -C group_composition_plot
19 changes: 19 additions & 0 deletions group_composition_plot/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
GOOD = $(wildcard submissions/good/*.json)
GOOD_PLOTS = $(patsubst submissions/good/%.json,pdf/%.pdf,$(GOOD))

all: group_composition_plot_the_fantastic_four.pdf \
group_composition_plot_all.pdf \
$(GOOD_PLOTS)

group_composition_plot_the_fantastic_four.pdf: submissions/2023-12-06/Friedrich_Schiller_University_Jena_2023-12-06_10-43-44.json \
submissions/2023-12-06/Scientific_Software_Center_2023-12-21_13-13-27.json \
submissions/2023-12-06/University_of_Reading_2023-12-11_10-18-14.json \
submissions/2023-12-06/Princeton_University_2023-11-29_18-33-21.json
./group_composition_plot.py --legend --outfile $@ $^

group_composition_plot_all.pdf: $(GOOD)
./group_composition_plot.py --legend --outfile $@ $^

pdf/%.pdf: submissions/good/%.json
mkdir -p pdf
./group_composition_plot.py --outfile $@ $^

0 comments on commit aecba8f

Please sign in to comment.