Automatically generate list of built java sources

This commit is contained in:
Matthew Booth
2009-07-13 13:51:42 +01:00
parent 456446a869
commit 96fdcf7f2e
2 changed files with 15 additions and 2 deletions

View File

@@ -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