[collectd] [PATCH] bindings/Makefile.am: perl/Makefile depends on config.status.

Sebastian Harl sh at tokkee.org
Wed Nov 14 00:00:05 CET 2007


Any configuration changes should be forwarded to the perl bindings. This patch
will cause perl/Makefile to be recreated after a rerun of the configure
script.

Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
 bindings/Makefile.am |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/bindings/Makefile.am b/bindings/Makefile.am
index 37e31ea..4573572 100644
--- a/bindings/Makefile.am
+++ b/bindings/Makefile.am
@@ -1,4 +1,5 @@
-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@
 
@@ -11,7 +12,8 @@ clean-local:
 perl: perl/Makefile
 	$(MAKE) -C perl
 
-perl/Makefile: perl/Makefile.PL perl/Collectd/Makefile.PL
+perl/Makefile: perl/Makefile.PL perl/Collectd/Makefile.PL \
+		$(top_builddir)/config.status
 	cd perl && @PERL@ Makefile.PL PREFIX=$(prefix) @PERL_BINDINGS_OPTIONS@
 
 .PHONY: perl
-- 
1.5.3.4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20071114/644be30c/attachment.pgp 


More information about the collectd mailing list