kicad-yavook/Makefile
2024-10-12 15:14:56 +02:00

18 lines
267 B
Makefile

%_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 ${<} ${@}