bindings/Makefile.am: perl/Makefile depends on config.status.
authorSebastian Harl <sh@tokkee.org>
Tue, 13 Nov 2007 23:00:05 +0000 (00:00 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 14 Nov 2007 10:37:22 +0000 (11:37 +0100)
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@tokkee.org>
bindings/Makefile.am

index 37e31ea..4573572 100644 (file)
@@ -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