2 PUBLISH= pumpkin-books.pdf house-rules.md
8 # Don't print the ps, printers (eg ours!) don't always have the fonts
10 use_rsvg=rsvg-convert -f png -o $@.tmp.png $<
11 shell_pipe=set -o pipefail; set -e;
12 make_pgm = pnmdepth 255 | pnmnoraw >$@.tmp.new; mv -f $@.tmp.new $@
14 pumpkin-books.ps: pumpkin-books.ps.pl bag.pgm pot.pgm
15 ./$< >$@.new && mv -f $@.new $@
17 pumpkin-books.pdf: pumpkin-books.ps
18 gs -q -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress \
19 -sDEVICE=pdfwrite -sOutputFile=$@ $<
21 bag.pgm: Sack_-_Sac_-_Zak_brown.svg Makefile
24 pngtopnm <$@.tmp.png -mix -background 'white' \
28 pot.pgm: 146_Kaldrono.svg Makefile
31 pngtopnm <$@.tmp.png \
37 pubpath=games-rules/quacks
38 puburl=https://www.chiark.greenend.org.uk/~ijackson/
42 rsync $^ $(pubssh):public-html/$(pubpath)/.
43 @echo $(puburl)$(pubpath)/