Improve Makefile

This commit is contained in:
Dominic Zimmer 2022-08-26 10:52:37 +02:00
parent 9ddc6171c7
commit e54ab123d5
2 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,4 @@
all:
python generate_bingo.py
(cd build; latexmk -pdf; pdfjam --nup 1x2 --outfile output.pdf *.pdf)
template:
pdflatex template.tex
rm build/*.pdf
(cd build; latexmk -pdf > /dev/null; pdfjam --nup 1x2 --outfile output.pdf *.pdf)

View File

@ -48,4 +48,5 @@ def gen_board(num: int = 1):
with open(output_dir + filename,"w") as f:
f.writelines(pick)
gen_board(36)
gen_board(40)
print("Done!")