Add Erlang bindings.
[libguestfs.git] / Makefile.am
index 6b4a737..c7166b7 100644 (file)
@@ -30,7 +30,7 @@ SUBDIRS += appliance
 endif
 
 # Tests and the test-tool.
-SUBDIRS += gnulib/tests capitests regressions test-tool
+SUBDIRS += gnulib/tests capitests caution regressions test-tool
 
 # Guestfish.
 SUBDIRS += fish
@@ -52,7 +52,7 @@ if HAVE_RUBY
 SUBDIRS += ruby ruby/examples
 endif
 if HAVE_JAVA
-SUBDIRS += java
+SUBDIRS += java java/examples
 endif
 if HAVE_HASKELL
 SUBDIRS += haskell
@@ -60,6 +60,9 @@ endif
 if HAVE_PHP
 SUBDIRS += php
 endif
+if HAVE_ERLANG
+SUBDIRS += erlang erlang/examples
+endif
 
 # Unconditional because nothing is built yet.
 SUBDIRS += csharp
@@ -93,34 +96,50 @@ EXTRA_DIST = \
        autogen.sh \
        bindtests \
        contrib/README \
+       debian/.gitignore \
+       debian/changelog \
+       debian/compat \
+       debian/control \
+       debian/copyright \
+       debian/docs \
+       debian/guestfish.dirs \
+       debian/guestfish.install \
+       debian/guestfsd.dirs \
+       debian/guestfsd.install \
+       debian/guestmount.dirs \
+       debian/guestmount.install \
+       debian/libguestfs-dev.dirs \
+       debian/libguestfs-dev.install \
+       debian/libguestfs-doc.docs \
+       debian/libguestfs-perl.examples \
+       debian/libguestfs-perl.install \
+       debian/libguestfs-tools.dirs \
+       debian/libguestfs-tools.install \
+       debian/libguestfs0.dirs \
+       debian/libguestfs0.install \
+       debian/patches/series \
+       debian/python-guestfs.install \
+       debian/pyversions \
+       debian/rules \
+       debian/shlibs.local \
+       debian/watch \
        html/pod.css \
-       html/recipes.css \
        libguestfs.pc libguestfs.pc.in \
        libtool-kill-dependency_libs.sh \
        logo/fish.svg logo/fish.png \
-       make-recipes.sh \
        m4/.gitignore \
-       recipes/LICENSE \
-       recipes/README \
-       recipes/*.html \
-       recipes/*.sh \
-       recipes/*.example \
        run \
        update-bugs.sh
 
-# Recipes web page.
-html/recipes.html: $(wildcard recipes/*.sh) $(wildcard recipes/*.html) $(wildcard recipes/*.example) Makefile make-recipes.sh
-       mkdir -p html
-       rm -f $@ $@-t
-       sh make-recipes.sh recipes/*.sh > $@-t
-       mv $@-t $@
-
 HTMLFILES = \
        html/guestfs.3.html \
        html/guestfs-examples.3.html \
+       html/guestfs-erlang.3.html \
+       html/guestfs-java.3.html \
        html/guestfs-ocaml.3.html \
        html/guestfs-perl.3.html \
        html/guestfs-python.3.html \
+       html/guestfs-recipes.1.html \
        html/guestfs-ruby.3.html \
        html/guestfish.1.html \
        html/guestmount.1.html \
@@ -140,9 +159,7 @@ HTMLFILES = \
        html/virt-tar.1.html \
        html/virt-tar-in.1.html \
        html/virt-tar-out.1.html \
-       html/virt-win-reg.1.html \
-       html/recipes.html \
-       html/pod.css html/recipes.css
+       html/virt-win-reg.1.html
 
 TEXTFILES = BUGS README RELEASE-NOTES ROADMAP TODO
 
@@ -206,7 +223,7 @@ CLEANFILES = \
 # is NOT a substitute for proper testing!
 
 quickcheck:
-       ./run test-tool/libguestfs-test-tool
+       ./run test-tool/libguestfs-test-tool $(QUICKCHECK_TEST_TOOL_ARGS)
 
 # Make binary distribution.