From 2dbcfa9a69bdfd259b56fa18893bc6df359fc246 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 24 Jul 2011 18:38:14 +0100 Subject: ADd 'count' target to Makefile to track progress for minimal book length. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.1