[collectd] [PATCH] bindings/Makefile.am: Replaced "make -C" with "cd && make".

Sebastian Harl sh at tokkee.org
Sun Jan 6 20:12:10 CET 2008


BSD make does not support "make -C".

Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
 bindings/Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bindings/Makefile.am b/bindings/Makefile.am
index a70e982..620389f 100644
--- a/bindings/Makefile.am
+++ b/bindings/Makefile.am
@@ -4,13 +4,13 @@ EXTRA_DIST = perl/Collectd.pm perl/Makefile.PL perl/Collectd/Makefile.PL \
 all-local: @PERL_BINDINGS@
 
 install-exec-local:
-	[ ! -f perl/Makefile ] || $(MAKE) -C perl install
+	[ ! -f perl/Makefile ] || ( cd perl && $(MAKE) install )
 
 clean-local:
-	[ ! -f perl/Makefile ] || $(MAKE) -C perl realclean
+	[ ! -f perl/Makefile ] || ( cd perl && $(MAKE) realclean )
 
 perl: perl/Makefile
-	$(MAKE) -C perl
+	cd perl && $(MAKE)
 
 perl/Makefile: .perl-directory-stamp perl/Makefile.PL \
 	perl/Collectd/Makefile.PL $(top_builddir)/config.status
-- 
1.5.4.rc2.17.g257f

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080106/0d0e7046/attachment.pgp 


More information about the collectd mailing list