Showing
2 changed files
with
9 additions
and
1 deletions
... | ... | @@ -16,5 +16,12 @@ coverage-html: |
16 | 16 | -$(MAKE) -C tests $(AM_MAKEFLAGS) -k $@ |
17 | 17 | endif |
18 | 18 | |
19 | +REGEX_CCLASS=/^[ \t]*\(TR_CLASS\|TR_INTERFACE\)\(([a-zA-Z0-9_]+)/\2/d,definition/ | |
19 | 20 | tags: |
20 | - ctags -R -V --langdef=cclass --langmap=cclass:.h --regex-cclass='/^[ \t]*\(TR_CLASS\|TR_INTERFACE\)\(([a-zA-Z0-9_]+)/\2/d,definition/' | |
21 | + @ctags -R -V --langdef=cclass --langmap=cclass:.h \ | |
22 | + --regex-cclass='$(REGEX_CCLASS)' | |
23 | + | |
24 | +loc: | |
25 | + @find src/ include/ -not -path testers -and -name "*.[ch]" \ | |
26 | + -exec sed '/\/\*/,/\*\//d;/\/\//d' {} \; | wc -l | |
27 | + | ... | ... |
Please
register
or
login
to post a comment