24 lines
522 B
Makefile
24 lines
522 B
Makefile
PDF_TARGETS = $(wildcard infoZettel.2017/*.pdf)
|
|
PDF_PRINT_TARGETS = $(notdir $(PDF_TARGETS:.pdf=.druck.pdf))
|
|
|
|
|
|
.PHONY: all clean
|
|
|
|
all:
|
|
# make -j --directory=infoZettel.2016/
|
|
make -j --directory=infoZettel.2017/
|
|
|
|
clean:
|
|
make --directory=infoZettel.2016/ clean
|
|
make --directory=infoZettel.2017/ clean
|
|
$(RM) *.druck.pdf
|
|
|
|
.PHONY: druck
|
|
druck: all $(PDF_PRINT_TARGETS)
|
|
# echo $(PDF_TARGETS)
|
|
# echo $(PDF_PRINT_TARGETS)
|
|
|
|
|
|
%.druck.pdf: infoZettel.2017/%.pdf
|
|
pdfnup --outfile $@ --nup 2x2 --no-landscape $< '1,1,1,1,2,2,2,2'
|