Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
BOOKS+= yellow
BOOKS+= black-pair/black-more
+BOOK_STEMS := $(addprefix book-,$(subst /, ,$(BOOKS)))
+PUBLISH += $(addsuffix .pdf, $(BOOK_STEMS))
+
all: $(PUBLISH)
# Don't print the ps, printers (eg ours!) don't always have the fonts
| pnmdepth 255 \
| $(make_pnm)
+book-%.pdf: book-%.eps
+ rm -f $@; ps2pdf $<
+
+book-%.eps: book-%.ps
+ rm -f $@; ps2eps $<
+
+.PRECIOUS: book-%.eps
+
PUBLISH_FILES= \
$(patsubst %.md,%.md.txt, $(PUBLISH)) \
$(patsubst %.md,%.md.html, $(filter $(PUBLISH)) \