From e3e32ca3cfafd2e2dc7eebb0b09e3d00b1636fe0 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Fri, 25 Dec 2015 15:28:47 +0100 Subject: [PATCH] Fix linecount target being out of sync. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 079458f5..f4ff3cbb 100644 --- a/Makefile +++ b/Makefile @@ -427,4 +427,4 @@ run-virtualbox-debug: sortix.iso # Statistics .PHONY: linecount linecount: - wc -l `find | grep -E '\.h$$|\.h\+\+$$|\.c$$|\.cpp$$|\.c\+\+$$|\.s$$|\.S$$|\.asm$$|Makefile$$' | grep -v sysroot | grep -v sysroot-overlay | grep -v ports` | sort -n + wc -l `find . -type f | grep -Ev '\.(h|h\+\+|c$$|cpp|c\+\+|s|S|asm|kblayout|mak|sh)$$|(^|/)Makefile$$' | grep -Ev '^\./(\.git|sysroot|sysroot-overlay|ports|repository)(/|$$)'` | sort -n