summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-07-24 18:38:14 +0100
committerLars Wirzenius <liw@liw.fi>2011-07-24 18:38:14 +0100
commit2dbcfa9a69bdfd259b56fa18893bc6df359fc246 (patch)
tree71c9cbb0b5974d5e94245cd2418e2137c0d49099 /Makefile
parent9a4895f598677b32dee32423abe86803bd9deb4d (diff)
downloadgtdfh.liw.fi-2dbcfa9a69bdfd259b56fa18893bc6df359fc246.tar.gz
ADd 'count' target to Makefile to track progress for minimal book length.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a167e28..3959b2a 100644
--- a/Makefile
+++ b/Makefile
@@ -11,5 +11,9 @@ all: book.pdf
book.pdf: book.css $(chapters)
./markdown-to-pdf $(chapters) > book.pdf
+count:
+ wc -w $(chapters)
+ echo 100 '*' $$(cat $(chapters) | wc -w) / 30000 | bc -l
+
clean:
rm -f book.pdf book.html