diff options
| author | Trygve Laugstøl <trygvis@inamo.no> | 2025-07-02 21:32:57 +0200 |
|---|---|---|
| committer | Trygve Laugstøl <trygvis@inamo.no> | 2025-07-02 21:32:57 +0200 |
| commit | 69e958b51cdf33c53d10fb6f7788d9adb9846af0 (patch) | |
| tree | 5778ff9eaa62c94964a919ca170bc878d6154103 /Makefile | |
| parent | a07cc0cd75bf63a281235df3b8e7b74900cea494 (diff) | |
| download | constance-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-- | Makefile | 24 |
1 files changed, 15 insertions, 9 deletions
@@ -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: |
