From e80050ec31f0ceee760be637e8f10edaf3a10a90 Mon Sep 17 00:00:00 2001 From: djcb Date: Sat, 17 Nov 2012 21:21:59 +0200 Subject: [PATCH] * fix for `find' invocation for non-GNU find (thanks to Eygene Ryabinkin) --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index b62f0b4f..300f777e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \