Module: check_mk
Branch: master
Commit: e0eb7c7d6cfedd7d65b2bf2a6fd5a261cfeef139
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e0eb7c7d6cfedd…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Sep 28 10:48:49 2017 +0200
New Makefile target for counting the lines of code
Change-Id: Ie029ccf7ec8a5e49e5ee1eefd4e5c46b5eb11583
---
Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Makefile b/Makefile
index d319c35..6e7c6e0 100644
--- a/Makefile
+++ b/Makefile
@@ -406,6 +406,9 @@ setup:
$(MAKE) -C tests setup
$(MAKE) -C omd setup
+linesofcode:
+ @wc -l $$(find -type f -name "*.py" -o -name "*.js" -o -name
"*.cc" -o -name "*.h" -o -name "*.css" | grep -v
openhardwaremonitor | grep -v jquery | grep -v livestatus/src ) | sort -n
+
ar-lib compile config.guess config.sub install-sh missing depcomp: configure.ac
autoreconf --install --include=m4