X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=bindings%2FMakefile.am;h=fb68657c777b55f93487cd6a47ea58ee9eeee783;hb=b8f83ce0a28e0d8033c0f3bdc95aeb44a2d17381;hp=c724725221bfeb1d80a1816aab70dcce6f7d8003;hpb=7ab531887edb3758b6db0fc0c00aa4beee1bc3e2;p=collectd.git diff --git a/bindings/Makefile.am b/bindings/Makefile.am index c7247252..fb68657c 100644 --- a/bindings/Makefile.am +++ b/bindings/Makefile.am @@ -1,4 +1,11 @@ -EXTRA_DIST = perl/Collectd.pm perl/Makefile.PL perl/Collectd/Makefile.PL perl/Collectd/Unixsock.pm +SUBDIRS = + +if BUILD_WITH_JAVA +SUBDIRS += java +endif + +EXTRA_DIST = perl/Collectd.pm perl/Makefile.PL perl/Collectd/Makefile.PL \ + perl/Collectd/Unixsock.pm all-local: @PERL_BINDINGS@ @@ -11,7 +18,8 @@ clean-local: perl: perl/Makefile 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: