chiark / gitweb /
wip pot processing
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 26 Oct 2021 19:41:13 +0000 (20:41 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 26 Oct 2021 19:41:13 +0000 (20:41 +0100)
.gitignore
Makefile

index 6cb46d8762fbee950b3bbf590f09ebc87d22bb43..8efe0f5913ae2e640dddf78f7f2c2d72a49c8aaf 100644 (file)
@@ -1,4 +1,5 @@
 pumpkin-books.ps
 pumpkin-books.pdf
 bag.pgm
+pot.pgm
 *.tmp.*
index 5f1102c726aa33edbf200200981d794d4189d594..0821754c1c3f61f4a69108224831ae4dc9799419 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,13 @@ bag.pgm: Sack_-_Sac_-_Zak_brown.svg Makefile
        | ppmtopgm                                      \
        | $(make_pgm)
 
+pot.pgm: 146_Kaldrono.svg Makefile
+       $(use_rsvg)
+       $(shell_pipe)                                   \
+       pngtopnm <$@.tmp.png                            \
+       | ppmtopgm                                      \
+       | pnminvert                                     \
+       | $(make_pgm)
 
 pubssh=c
 pubpath=games-rules/quacks