diff options
| author | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2010-11-20 17:27:17 +0200 |
|---|---|---|
| committer | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2010-11-20 17:27:17 +0200 |
| commit | 5818c40d7f6cc9c145ec45cb9f8151b3393c7795 (patch) | |
| tree | 0b962c8b93c572ac61ed3cd90c9ee973630c6f1e /Makefile.am | |
| parent | 2c8bd1015d4bf3b174fdcc9b3a0c199797d0b89b (diff) | |
* <many>: fix source code checks; move mu_msg_str_normalize to separate file
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index d1ec008..5f841dd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,13 +32,18 @@ tags: # 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'` \ + | grep -v mu-msg-str-normalize.c \ + | 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 +# note, mu_msg_str_normalize is excempted from this rule. line33: - @$(PMCCABE) -c `find -name '*.c' -o -name '*.cc'` | awk '($$5 > 33)' + @$(PMCCABE) -c `find -name '*.c' -o -name '*.cc'` \ + | grep -v mu-msg-str-normalize.c \ + | awk '($$5 > 33)' # get all todo/fixme messages fixme: |
