all: constance-ring.epub stage-1.txt: 2025-07-01T2031_NB_generated.pdf pdftotext -layout $< $@ stage-2.txt: stage-1.txt @echo $@ tr '\f' '\n' < $< > $@ stage-3.txt: stage-2.txt convert.awk @echo $@ awk -f convert.awk $< > $@ constance-ring.md: header.md stage-3.txt @echo $@ cat $^ > $@.tmp mv $@.tmp $@ constance-ring.epub: constance-ring.md pandoc -o $@ $< .PHONY: clean clean: @rm -f stage-*.txt