summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authordjcb <djcb@localhost.localdomain>2012-01-15 14:11:48 +0200
committerdjcb <djcb@localhost.localdomain>2012-01-15 14:11:48 +0200
commit6014ef18a93dfee940766272745b8f96da31d3d7 (patch)
tree90181bc6efa9bcf7d5851f2bdc6de8c7e6beef86 /Makefile.am
parent3ecc81a879bf68ecdd3085cfa09d88d890196de1 (diff)
* Makefile.am: exempt big case-statement in mu-guile-message from pmccabe check
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index d63fc5b..67c1c21 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -55,11 +55,12 @@ cc10:
# 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.
+# note, some functions are exempted from this rule.
line33:
@$(PMCCABE) -c `find -name '*.c' -o -name '*.cc'` \
| grep -v mu-str-normalize.c \
| grep -v config_options_group_find \
+ | grep -v SCM_DEFINE_PUBLIC \
| grep -v tests \
| awk '($$5 > 33)'