diff options
| author | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2010-02-04 22:45:54 +0200 |
|---|---|---|
| committer | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2010-02-04 22:45:54 +0200 |
| commit | 826aeb684d6066ba9302ea799cde7b2ad4dac4fd (patch) | |
| tree | 6d62d4ea3d7d3a06707c5b9e7cc11275a69f3598 /Makefile.am | |
| parent | 3b1fbb79e95d726131c548eb7d936c72db2e58e9 (diff) | |
* Makefile.am, configure.ac: clear up the pmccabe stuff a bit
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 9e943a6..3f96f64 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,18 +28,18 @@ cleanupnote: tags: gtags + # this warns about function that have a cyclomatic complexity of > 10, # which is a sign that it needs some refactoring. requires the pmccabe # tool. If all is fine, it outputs nothing cc10: - @pmccabe `find -name '*.c' -o -name '*.cc'` | sort -nr | awk '($$1 > 10)' + @$(PMCCABE) `find -name '*.c' -o -name '*.cc'` | sort -nr | awk '($$1 > 10)' # this warns about functions that are over 33 non-comment lines long, which is a # sign that they need some refactoring. requires the pmccabe tool. if # all is fine, it outputs nothing line33: - @pmccabe -c `find -name '*.c' -o -name '*.cc'` | awk '($$5 > 33)' - + @$(PMCCABE) -c `find -name '*.c' -o -name '*.cc'` | awk '($$5 > 33)' EXTRA_DIST= \ TODO \ |
