From 864077a77ec55e2990c279ef164477f0a5b369a9 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 8 Dec 2009 18:07:55 +0100 Subject: [PATCH] bindings/Makefile.am: Tie OpenVZ.pm into the build system. --- bindings/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bindings/Makefile.am b/bindings/Makefile.am index 1a28e290..b81340b4 100644 --- a/bindings/Makefile.am +++ b/bindings/Makefile.am @@ -4,8 +4,10 @@ if BUILD_WITH_JAVA SUBDIRS += java endif -EXTRA_DIST = perl/Collectd.pm perl/Makefile.PL \ - perl/Collectd/Unixsock.pm +EXTRA_DIST = perl/Makefile.PL \ + perl/lib/Collectd.pm \ + perl/lib/Collectd/Unixsock.pm \ + perl/lib/Collectd/Plugins/OpenVZ.pm all-local: @PERL_BINDINGS@ @@ -24,10 +26,11 @@ perl/Makefile: .perl-directory-stamp perl/Makefile.PL \ .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/Plugins/OpenVZ.pm perl/Collectd/Plugins/; \ fi touch $@ -- 2.11.0