summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorMatthew Booth <mbooth@redhat.com>2009-07-13 13:51:42 +0100
committerMatthew Booth <mbooth@redhat.com>2009-07-13 13:53:31 +0100
commit96fdcf7f2ed0c0d32cf14b5fea95cfba94f2c977 (patch)
treed3bf3234b4ace963f52e2838d7cae2d96ac7efe6 /java
parent456446a86909dd05a5162aca4d676f680b47abc4 (diff)
downloadlibguestfs-96fdcf7f2ed0c0d32cf14b5fea95cfba94f2c977.tar.gz
libguestfs-96fdcf7f2ed0c0d32cf14b5fea95cfba94f2c977.tar.xz
libguestfs-96fdcf7f2ed0c0d32cf14b5fea95cfba94f2c977.zip
Automatically generate list of built java sources
Diffstat (limited to 'java')
-rw-r--r--java/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/java/Makefile.am b/java/Makefile.am
index 068540c3..51cd3b58 100644
--- a/java/Makefile.am
+++ b/java/Makefile.am
@@ -20,8 +20,12 @@ builddir ?= $(top_builddir)/java
java_prefix = com/redhat/et/libguestfs
+# Pull in automatically generated built sources
+include $(builddir)/Makefile.inc
+
java_sources = \
- $(java_prefix)/*.java
+ $(java_built_sources) \
+ com/redhat/et/libguestfs/LibGuestFSException.java
java_tests = \
Bindtests.java \
@@ -35,7 +39,7 @@ EXTRA_DIST = \
run-bindtests \
run-java-tests
-CLEANFILES = doc-stamp
+CLEANFILES = doc-stamp $(builddir)/com/redhat/et/libguestfs/*.class com_redhat_et_libguestfs_GuestFS.h *.class *.jar api/com/redhat/et/libguestfs/*.html api/*
if HAVE_JAVA