aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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: