bindings/Makefile: Include java/ subdir in the dist tarball.
[collectd.git] / bindings / Makefile.am
index c724725..3ab4c87 100644 (file)
@@ -1,4 +1,6 @@
-EXTRA_DIST = perl/Collectd.pm perl/Makefile.PL perl/Collectd/Makefile.PL perl/Collectd/Unixsock.pm
+EXTRA_DIST = java/org/collectd/java/*.java java/org/collectd/api/*.java \
+               perl/Collectd.pm perl/Makefile.PL perl/Collectd/Makefile.PL \
+               perl/Collectd/Unixsock.pm
 
 all-local: @PERL_BINDINGS@
 
@@ -11,7 +13,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: