aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2025-07-02 21:56:31 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2025-07-02 21:56:31 +0200
commitbbb74be6a29708a8c50764e33fd759ab61a9f623 (patch)
tree056f48f3cbb84f2925c792ac1bb4a14c6ef29b8e /Makefile
parent69e958b51cdf33c53d10fb6f7788d9adb9846af0 (diff)
downloadconstance-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--Makefile23
1 files changed, 12 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index abc5508..414c48e 100644
--- a/Makefile
+++ b/Makefile
@@ -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: