Code

Collectd::Unixsock: Fixed some typos.
[collectd.git] / bindings / Makefile.am
index 8d37c74680fa8c3d16d4c3e0cdd989ebd8e302a2..620389fabe7b0ab1424c727835eb802c86bd8e30 100644 (file)
@@ -1,17 +1,19 @@
-EXTRA_DIST = perl/Collectd.pm perl/Makefile.PL perl/Collectd/Makefile.PL perl/Collectd/Unixsock.pm
+EXTRA_DIST = perl/Collectd.pm perl/Makefile.PL perl/Collectd/Makefile.PL \
+               perl/Collectd/Unixsock.pm
 
 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
+perl/Makefile: .perl-directory-stamp perl/Makefile.PL \
+       perl/Collectd/Makefile.PL $(top_builddir)/config.status
        cd perl && @PERL@ Makefile.PL PREFIX=$(prefix) @PERL_BINDINGS_OPTIONS@
 
 .perl-directory-stamp: