diff options
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: |
