Compare comment-reduced and unreduced line counts.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 3 Oct 2012 19:07:44 +0000 (15:07 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 3 Oct 2012 19:07:44 +0000 (15:07 -0400)
Makefile

index d529a9181672e39fbd122feb8c38bbff21da675d..eb0be3897cb24dc89dd61b7e29432fbaa0330dcf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,8 @@ pylint:
        @pylint --output-format=parseable $(PYLINTOPTS) irkerhook.py
 
 loc:
-       grep -vE '(^ *#|^ *$$)' irkerd irkerhook.py | wc -l
+       @echo "LOC:"; wc -l irkerd irkerhook.py
+       @echo -n "LLOC: "; grep -vE '(^ *#|^ *$$)' irkerd irkerhook.py | wc -l
 
 SOURCES = README COPYING NEWS install.txt security.txt hacking.txt \
        irkerd irkerhook.py Makefile irkerd.xml irkerhook.xml