aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2025-07-02 21:32:57 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2025-07-02 21:32:57 +0200
commit69e958b51cdf33c53d10fb6f7788d9adb9846af0 (patch)
tree5778ff9eaa62c94964a919ca170bc878d6154103 /Makefile
parenta07cc0cd75bf63a281235df3b8e7b74900cea494 (diff)
downloadconstance-ring-69e958b51cdf33c53d10fb6f7788d9adb9846af0.tar.gz
constance-ring-69e958b51cdf33c53d10fb6f7788d9adb9846af0.tar.bz2
constance-ring-69e958b51cdf33c53d10fb6f7788d9adb9846af0.tar.xz
constance-ring-69e958b51cdf33c53d10fb6f7788d9adb9846af0.zip
wip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 15 insertions, 9 deletions
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: