From 69e958b51cdf33c53d10fb6f7788d9adb9846af0 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 2 Jul 2025 21:32:57 +0200 Subject: wip --- Makefile | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5b03619..abc5508 100644 --- a/Makefile +++ b/Makefile @@ -35,30 +35,36 @@ stage-1.txt: $(TXTs) stage-2.txt: stage-1.txt @echo $@ # tr '\f' '\n' < $< > $@ - cp $< $@ + @cp $< $@ stage-3.txt: stage-2.txt convert.awk @echo $@ - awk -f convert.awk $< > $@.tmp + @awk -f convert.awk $< > $@.tmp @mv $@.tmp $@ stage-4.txt: stage-3.txt Makefile @echo $@ - uniq $< > $@.tmp + @uniq $< > $@.tmp @mv $@.tmp $@ -stage-5.md: stage-4.txt Makefile +stage-5.txt: stage-4.txt convert2.awk @echo $@ - pandoc --from markdown -o $@.tmp.md $< + @awk -f convert2.awk $< > $@.tmp + @mv $@.tmp $@ + +stage-6.md: stage-5.txt Makefile + @echo $@ + @pandoc --from markdown -o $@.tmp.md $< @mv $@.tmp.md $@ -constance-ring.md: header.md stage-5.md +constance-ring.md: header.md stage-6.md @echo $@ - cat $^ > $@.tmp - mv $@.tmp $@ + @cat $^ > $@.tmp + @mv $@.tmp $@ constance-ring.epub: constance-ring.md - pandoc -o $@ $< + @echo $@ + @pandoc -o $@ $< .PHONY: clean clean: -- cgit v1.2.3