mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix linecount target being out of sync.
This commit is contained in:
parent
7a3b4f06c5
commit
e3e32ca3cf
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -427,4 +427,4 @@ run-virtualbox-debug: sortix.iso
|
||||||
# Statistics
|
# Statistics
|
||||||
.PHONY: linecount
|
.PHONY: linecount
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue