From 335f6dd2f67e5482eb92f2a5358eba6cd76091d4 Mon Sep 17 00:00:00 2001 From: Eygene Ryabinkin Date: Wed, 7 Nov 2012 14:13:37 +0400 Subject: [PATCH 1/2] Makefile: fix targets 'cc10' and 'line35' on FreeBSD BSD's find(1) requires the path to be given at the command line. Signed-off-by: Eygene Ryabinkin --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index b62f0b4..300f777 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 \ -- 1.7.11.3