diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-07-24 18:38:14 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-07-24 18:38:14 +0100 |
commit | 2dbcfa9a69bdfd259b56fa18893bc6df359fc246 (patch) | |
tree | 71c9cbb0b5974d5e94245cd2418e2137c0d49099 /Makefile | |
parent | 9a4895f598677b32dee32423abe86803bd9deb4d (diff) | |
download | gtdfh.liw.fi-2dbcfa9a69bdfd259b56fa18893bc6df359fc246.tar.gz |
ADd 'count' target to Makefile to track progress for minimal book length.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |