From 6014ef18a93dfee940766272745b8f96da31d3d7 Mon Sep 17 00:00:00 2001 From: djcb Date: Sun, 15 Jan 2012 14:11:48 +0200 Subject: [PATCH] * Makefile.am: exempt big case-statement in mu-guile-message from pmccabe check --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index d63fc5b9..67c1c218 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)'