diff options
| author | Trygve Laugstøl <trygvis@inamo.no> | 2025-07-16 21:16:37 +0200 |
|---|---|---|
| committer | Trygve Laugstøl <trygvis@inamo.no> | 2025-07-16 21:16:37 +0200 |
| commit | 0f742d6e44d1a2b48e1b28132043efec3428ca25 (patch) | |
| tree | 7247141bc10f11322f2c002e9d908cdd065f578f /Makefile | |
| parent | 8612f56ba8114cc781d1538a487cc559edcb596b (diff) | |
| download | constance-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-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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: |
