Code

bindings/Makefile.am: Replaced "make -C" with "cd && make".
authorSebastian Harl <sh@tokkee.org>
Wed, 9 Jan 2008 07:33:52 +0000 (08:33 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 9 Jan 2008 07:33:52 +0000 (08:33 +0100)
BSD make does not support "make -C".

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
bindings/Makefile.am

index 8d37c74680fa8c3d16d4c3e0cdd989ebd8e302a2..c724725221bfeb1d80a1816aab70dcce6f7d8003 100644 (file)
@@ -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@