From: Alexander van Gessel (AI0867) Date: Wed, 3 Oct 2012 00:03:48 +0000 (+0200) Subject: Ignore empty lines for LOC. X-Git-Tag: 1.6~22^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae285ce92319b5983ab0e9fd134c74d152ca49b9;p=irker.git Ignore empty lines for LOC. --- diff --git a/Makefile b/Makefile index 920a75e..62e26d7 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ pylint: @pylint --output-format=parseable $(PYLINTOPTS) irkerhook.py loc: - grep -v '^ *#' irkerd irkerhook.py | wc -l + grep -vE '(^ *#|^ *$$)' irkerd irkerhook.py | wc -l SOURCES = README COPYING NEWS BUGS install.txt security.txt hacking.txt \ irkerd irkerhook.py Makefile irkerd.xml irkerhook.xml