aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2025-07-16 21:16:37 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2025-07-16 21:16:37 +0200
commit0f742d6e44d1a2b48e1b28132043efec3428ca25 (patch)
tree7247141bc10f11322f2c002e9d908cdd065f578f /Makefile
parent8612f56ba8114cc781d1538a487cc559edcb596b (diff)
downloadconstance-ring-0f742d6e44d1a2b48e1b28132043efec3428ca25.tar.gz
constance-ring-0f742d6e44d1a2b48e1b28132043efec3428ca25.tar.bz2
constance-ring-0f742d6e44d1a2b48e1b28132043efec3428ca25.tar.xz
constance-ring-0f742d6e44d1a2b48e1b28132043efec3428ca25.zip
nix
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
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: