* fix for `find' invocation for non-GNU find (thanks to Eygene Ryabinkin)

This commit is contained in:
djcb 2012-11-17 21:21:59 +02:00
parent a82fecfb75
commit e80050ec31
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ 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'` \
@$(PMCCABE) `find . -name '*.c' -o -name '*.cc'` \
| grep -v mu-str-normalize.c \
| grep -v mu_str_subject_normalize \
| grep -v tests \
@ -57,7 +57,7 @@ cc10:
# all is fine, it outputs nothing
# note, some functions are exempted from this rule.
line35:
@$(PMCCABE) -c `find -name '*.c' -o -name '*.cc'` \
@$(PMCCABE) -c `find . -name '*.c' -o -name '*.cc'` \
| grep -v mu-str-normalize.c \
| grep -v mu_str_subject_normalize \
| grep -v config_options_group_find \