2 PYTHON
= $(shell which python2
)
4 ALL_PARTICIPANT_IDS
= $(shell $(PYTHON
) teilnehmertool.py
--ids
)
8 Kif_logo_415.pdf
: $(GITROOT
)/media
/Kif_logo_415.svg
12 bmbf
: bmbfliste
/bmbfliste.pdf
14 bmbfliste
/bmbfliste.pdf
: teilnehmertool.py templates
/bmbf-unterschriftenliste.
tex
15 $(PYTHON
) teilnehmertool.py
--bmbf
-o bmbfliste
16 @cd bmbfliste
&& latexmk
-pdf bmbf-unterschriftenliste.
tex
19 packliste
: listen
/packliste.pdf
21 teilnehmerliste
: listen
/teilnehmerliste.pdf
23 listen
/%.pdf
: listen
/%.
tex
24 @cd listen
&& latexmk
-pdf
$(notdir $<)
27 $(PYTHON
) teilnehmertool.py
--liste
-o listen
30 nametags
: nametags-all-nup.pdf
33 $(PYTHON
) teilnehmertool.py
--nametag
-o nametag
36 ## nicht sicher wie das sinnvoller geht..
37 ## nametag/%.svg: nametag/svgs geht leider ned.. :-/
41 nametag
/%.pdf
: nametag
/%.svg
42 inkscape
-A
$@
$(@
:%.pdf
=%.svg
)
44 nametags-all-nup.pdf
: $(ALL_PARTICIPANT_IDS
:%=nametag
/%.pdf
)
45 @pdftk
$(ALL_PARTICIPANT_IDS
:%=nametag
/%.pdf
) output nametags-all.pdf
46 @pdfnup
--nup
2x4
--no-landscape
--a4paper nametags-all.pdf
49 .PHONY
: bmbf
all clean all_lists nametags
51 .SUFFIXES
: .svg .pdf .
tex
53 .PRECIOUS
: nametag
/%.svg
54 .SECONDARY
: nametag
/%.svg