pdf making tool

This commit is contained in:
Jörn-Michael Miehe 2024-10-12 15:14:56 +02:00
parent 4a5e1540ef
commit 04483e8e64

18
Makefile Normal file
View file

@ -0,0 +1,18 @@
%_Both.pdf: %_Cu.pdf %_Mask.pdf
pdftk ${^} cat output ${@}
%_90.pdf: %_Both.pdf
pdftk ${<} cat 1-endeast output ${@}
%_90.ps: %_90.pdf
pdftops $<
%_nup.ps: %_90.ps
psnup -pa4 -Pa5 -2 ${<} ${@}
%_nup.pdf: %_nup.ps
ps2pdf ${<}
%.pdf: %_nup.pdf
cp ${<} ${@}