Commit 987cd884 authored by Jonas Termansen's avatar Jonas Termansen

Use git ls-files in linecount target.

parent 912a5448
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment