X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=bindings%2FMakefile.am;h=69312fd1a1e36ebd0915e4c18f30e61226621e4a;hb=97e8f346a88eccf4d1608c21d5cc6ee9620c1c41;hp=fb68657c777b55f93487cd6a47ea58ee9eeee783;hpb=b3bfb951c73ea3d232e0e97a42479a5e3310125d;p=collectd.git diff --git a/bindings/Makefile.am b/bindings/Makefile.am index fb68657c..69312fd1 100644 --- a/bindings/Makefile.am +++ b/bindings/Makefile.am @@ -4,8 +4,11 @@ if BUILD_WITH_JAVA SUBDIRS += java endif -EXTRA_DIST = perl/Collectd.pm perl/Makefile.PL perl/Collectd/Makefile.PL \ - perl/Collectd/Unixsock.pm +EXTRA_DIST = perl/Makefile.PL \ + perl/lib/Collectd.pm \ + perl/lib/Collectd/Unixsock.pm \ + perl/lib/Collectd/Plugins/Monitorus.pm \ + perl/lib/Collectd/Plugins/OpenVZ.pm all-local: @PERL_BINDINGS@ @@ -19,16 +22,16 @@ perl: perl/Makefile cd perl && $(MAKE) 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@ + $(top_builddir)/config.status + cd perl && @PERL@ Makefile.PL INSTALL_BASE=$(prefix) @PERL_BINDINGS_OPTIONS@ .perl-directory-stamp: if test ! -d perl; then \ - mkdir -p perl/Collectd; \ + mkdir -p perl/Collectd/Plugins; \ cp $(srcdir)/perl/Collectd.pm perl/; \ cp $(srcdir)/perl/Makefile.PL perl/; \ cp $(srcdir)/perl/Collectd/Unixsock.pm perl/Collectd/; \ - cp $(srcdir)/perl/Collectd/Makefile.PL perl/Collectd/; \ + cp $(srcdir)/perl/Collectd/Plugins/OpenVZ.pm perl/Collectd/Plugins/; \ fi touch $@