1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2015-12-25 15:28:47 +01:00
parent 7a3b4f06c5
commit e3e32ca3cf

View file

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