diff options
| author | Trygve Laugstøl <trygvis@inamo.no> | 2025-07-02 21:56:31 +0200 |
|---|---|---|
| committer | Trygve Laugstøl <trygvis@inamo.no> | 2025-07-02 21:56:31 +0200 |
| commit | bbb74be6a29708a8c50764e33fd759ab61a9f623 (patch) | |
| tree | 056f48f3cbb84f2925c792ac1bb4a14c6ef29b8e /Makefile | |
| parent | 69e958b51cdf33c53d10fb6f7788d9adb9846af0 (diff) | |
| download | constance-ring-bbb74be6a29708a8c50764e33fd759ab61a9f623.tar.gz constance-ring-bbb74be6a29708a8c50764e33fd759ab61a9f623.tar.bz2 constance-ring-bbb74be6a29708a8c50764e33fd759ab61a9f623.tar.xz constance-ring-bbb74be6a29708a8c50764e33fd759ab61a9f623.zip | |
wip
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -30,43 +30,44 @@ txt/page-%.txt:image/page-%.jpg stage-1.txt: $(TXTs) cat txt/page-{014..328}.txt > $@ - # pdftotext -layout $< $@ stage-2.txt: stage-1.txt - @echo $@ - # tr '\f' '\n' < $< > $@ + @echo '#' $@ + @# tr '\f' '\n' < $< > $@ @cp $< $@ stage-3.txt: stage-2.txt convert.awk - @echo $@ + @echo '#' $@ @awk -f convert.awk $< > $@.tmp @mv $@.tmp $@ stage-4.txt: stage-3.txt Makefile - @echo $@ + @echo '#' $@ @uniq $< > $@.tmp @mv $@.tmp $@ stage-5.txt: stage-4.txt convert2.awk - @echo $@ - @awk -f convert2.awk $< > $@.tmp - @mv $@.tmp $@ + @echo '#' $@ + awk -f convert2.awk $< > $@.tmp + mv $@.tmp $@ stage-6.md: stage-5.txt Makefile - @echo $@ + @echo '#' $@ @pandoc --from markdown -o $@.tmp.md $< @mv $@.tmp.md $@ constance-ring.md: header.md stage-6.md - @echo $@ + @echo '#' $@ @cat $^ > $@.tmp @mv $@.tmp $@ constance-ring.epub: constance-ring.md - @echo $@ + @echo '#' $@ @pandoc -o $@ $< .PHONY: clean clean: if [ -r page-index.txt ]; then cat page-index.txt | xargs rm; rm page-index.txt; fi @rm -f stage-*.txt + +$(V).SILENT: |
