summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authordjcb <djcb@djcbsoftware.nl>2012-03-24 11:18:35 +0200
committerdjcb <djcb@djcbsoftware.nl>2012-03-24 11:18:35 +0200
commit07c36f392df3b1935806b9644fa0a4d210d3c3b1 (patch)
treec2d423b4e2f1c3ddb48623607d5041dcff06c9b8 /Makefile.am
parent6bc7ce040e435279a9603872fc89521ae17309c2 (diff)
* Makefile.am: set 35 lines as the new max for function length ('make line35')
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 67c1c21..bc3bc6c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -52,17 +52,17 @@ cc10:
| grep -v tests \
| sort -nr | awk '($$1 > 10)'
-# this warns about functions that are over 33 non-comment lines long, which is a
+# this warns about functions that are over 35 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, some functions are exempted from this rule.
-line33:
+line35:
@$(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)'
+ | awk '($$5 > 35)'
# get all todo/fixme messages
fixme: