small update for flyer

This commit is contained in:
marko
2025-03-22 11:59:32 +01:00
parent 1c12a817da
commit c09f6ae268
3 changed files with 28 additions and 32 deletions

View File

@@ -57,7 +57,7 @@ aushaenge: $(aushaenge)
pdfjam --no-landscape --nup 2x2 --suffix '2x2' $^ '1,1,1,1,2,2,2,2' --outfile $@
%-booklet.pdf: %.pdf
pdfjam --landscape --nup 2x1 --suffix 'booklet' $^ '2,3,1,4' --outfile $@
pdfjam --no-landscape --nup 2x2 --suffix 'booklet' $^ '2,3,2,3,1,4,1,4' --outfile $@
aushang/%.pdf: aushang/%.md
pandoc \
@@ -89,16 +89,27 @@ uploadTouch/%.pdf: %.pdf
curl --verbose --upload-file $^ ftp://$(uploadUser):$(uploadPassword)@cwsvjudo.bplaced.net/www/temp/druck/$^
touch $@
.PHONY: flyer
flyer: FlyerA6.pdf FlyerA6-2x2.pdf
curl \
-T "{$$(echo Flyer*.pdf | tr ' ' ',')}" \
ftp://$(uploadUser):$(uploadPassword)@cwsvjudo.bplaced.net/flyer/ \
FlyerA6.pdf: FlyerA6.tex styles/cwsvJudoZettel.sty
pdflatex \
-output-format=pdf \
$^ \
FlyerA6-2x2.pdf: FlyerA6.pdf
pdfjam \
--no-landscape \
--nup 2x2 \
--outfile $@ \
$^ '1,1,1,1,2,2,2,2' \
.PHONY: echo
echo:
# @echo $(infoZettel)
# @echo $(infoZettelUploads)
@echo $(aushaenge)
.PHONY: clean
clean:
rm -f *.pdf
rm -f wkZettel/*.pdf
rm -f aushang/*.pdf
rm -f kyuzettel-2024/*.pdf
rm -f missing-payment/*.pdf