mirror of https://github.com/djcb/mu.git
* fix for `find' invocation for non-GNU find (thanks to Eygene Ryabinkin)
This commit is contained in:
parent
a82fecfb75
commit
e80050ec31
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue