Use git ls-files in linecount target.
This commit is contained in:
parent
912a5448c5
commit
987cd88472
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue