Use git ls-files in linecount target.

This commit is contained in:
Jonas 'Sortie' Termansen 2017-02-05 14:37:34 +01:00
parent 912a5448c5
commit 987cd88472
1 changed files with 1 additions and 1 deletions

View File

@ -433,4 +433,4 @@ run-virtualbox-debug: sortix.iso
# Statistics
.PHONY: linecount
linecount:
wc -l `find . -type f | grep -E '\.(h|h\+\+|c|cpp|c\+\+|s|S|asm|kblayout|mak|sh)$$|(^|/)Makefile$$' | grep -Ev '^\./(\.git|sysroot|sysroot-overlay|ports|repository)(/|$$)'` | sort -n
wc -l `git ls-files | grep -Ev '^libm/man/.*$$'` | sort -h