From a014f439715f56104281cf3b85b82481a1f6a17d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 1 Oct 2012 13:33:06 -0400 Subject: [PATCH] Add a production to count lines of code. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 8913ac8..30ec44b 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,8 @@ pylint: @pylint --output-format=parseable $(PYLINTOPTS) irkerd @pylint --output-format=parseable $(PYLINTOPTS) irkerhook.py +loc: + grep -v "^#" irkerd irkerhook.py | wc -l SOURCES = README COPYING NEWS BUGS install.txt security.txt hacking.txt \ irkerd irkerhook.py Makefile irkerd.xml irkerhook.xml -- 2.26.2