* Makefile.am: add fixme target, to list all FIXMEs/TODOs
This commit is contained in:
@ -28,7 +28,6 @@ cleanupnote:
|
|||||||
tags:
|
tags:
|
||||||
gtags
|
gtags
|
||||||
|
|
||||||
|
|
||||||
# this warns about function that have a cyclomatic complexity of > 10,
|
# this warns about function that have a cyclomatic complexity of > 10,
|
||||||
# which is a sign that it needs some refactoring. requires the pmccabe
|
# which is a sign that it needs some refactoring. requires the pmccabe
|
||||||
# tool. If all is fine, it outputs nothing
|
# tool. If all is fine, it outputs nothing
|
||||||
@ -41,7 +40,13 @@ cc10:
|
|||||||
line33:
|
line33:
|
||||||
@$(PMCCABE) -c `find -name '*.c' -o -name '*.cc'` | awk '($$5 > 33)'
|
@$(PMCCABE) -c `find -name '*.c' -o -name '*.cc'` | awk '($$5 > 33)'
|
||||||
|
|
||||||
|
# get all todo/fixme messages
|
||||||
|
fixme:
|
||||||
|
@grep -i 'FIXME\|TODO' `find src -type f`
|
||||||
|
|
||||||
|
|
||||||
EXTRA_DIST= \
|
EXTRA_DIST= \
|
||||||
TODO \
|
TODO \
|
||||||
HACKING \
|
HACKING \
|
||||||
gtest.mk
|
gtest.mk \
|
||||||
|
NEWS
|
||||||
|
|||||||
Reference in New Issue
Block a user