From 0f742d6e44d1a2b48e1b28132043efec3428ca25 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 16 Jul 2025 21:16:37 +0200 Subject: nix --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 85cf69b..7daa1aa 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ stage-4.txt: stage-3.txt stage-4.awk awk -f $(filter %.awk,$^) $< > $@.tmp @mv $@.tmp $@ -stage-5.md: stage-4.txt Makefile +stage-5.md: stage-4.txt @echo '#' $@ @pandoc --from markdown -o $@.tmp.md $< @mv $@.tmp.md $@ @@ -80,7 +80,9 @@ constance-ring.pdf: header.md cover.jpg frontmatter.md stage-5.md spellcheck-wor .PHONY: clean clean: + @rm -f stage-*.txt constance-ring.epub constance-ring.pdf + +clean-ocr: clean if [ -r page-index.txt ]; then cat page-index.txt | xargs rm; rm page-index.txt; fi - @rm -f stage-*.txt $(V).SILENT: -- cgit v1.2.3