From: Sebastian Harl Date: Wed, 9 Jan 2008 07:33:52 +0000 (+0100) Subject: bindings/Makefile.am: Replaced "make -C" with "cd && make". X-Git-Tag: collectd-4.2.4~5 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=4d3df62c2da0ac48723cab5089a84e85938b9d97;p=collectd.git bindings/Makefile.am: Replaced "make -C" with "cd && make". BSD make does not support "make -C". Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- diff --git a/bindings/Makefile.am b/bindings/Makefile.am index 8d37c746..c7247252 100644 --- a/bindings/Makefile.am +++ b/bindings/Makefile.am @@ -3,13 +3,13 @@ EXTRA_DIST = perl/Collectd.pm perl/Makefile.PL perl/Collectd/Makefile.PL perl/Co 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 cd perl && @PERL@ Makefile.PL PREFIX=$(prefix) @PERL_BINDINGS_OPTIONS@