Fix linecount target being out of sync.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-12-25 15:28:47 +01:00
parent 7a3b4f06c5
commit e3e32ca3cf
1 changed files with 1 additions and 1 deletions

View File

@ -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