From a8f39633078219db4bcc2561689f2e5b1f410e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael?= <40151420+ldericher@users.noreply.github.com> Date: Sat, 12 Oct 2024 15:14:56 +0200 Subject: [PATCH] pdf making tool --- ATTiny13-breadboard/B.pdf | 3 +++ Makefile | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 ATTiny13-breadboard/B.pdf create mode 100644 Makefile diff --git a/ATTiny13-breadboard/B.pdf b/ATTiny13-breadboard/B.pdf new file mode 100644 index 0000000..e446e08 --- /dev/null +++ b/ATTiny13-breadboard/B.pdf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:155f7ae64790ad06bb54140750ee4aef7a1bfaa2e8dda9370ac49b75e9840ee6 +size 214440 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2d4aaf5 --- /dev/null +++ b/Makefile @@ -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 ${<} ${@} +