diff options
author | Matthew Booth <mbooth@redhat.com> | 2009-07-13 13:51:42 +0100 |
---|---|---|
committer | Matthew Booth <mbooth@redhat.com> | 2009-07-13 13:53:31 +0100 |
commit | 96fdcf7f2ed0c0d32cf14b5fea95cfba94f2c977 (patch) | |
tree | d3bf3234b4ace963f52e2838d7cae2d96ac7efe6 /src | |
parent | 456446a86909dd05a5162aca4d676f680b47abc4 (diff) | |
download | libguestfs-96fdcf7f2ed0c0d32cf14b5fea95cfba94f2c977.tar.gz libguestfs-96fdcf7f2ed0c0d32cf14b5fea95cfba94f2c977.tar.xz libguestfs-96fdcf7f2ed0c0d32cf14b5fea95cfba94f2c977.zip |
Automatically generate list of built java sources
Diffstat (limited to 'src')
-rwxr-xr-x | src/generator.ml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/generator.ml b/src/generator.ml index 2446299f..8c864f0d 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -8340,6 +8340,15 @@ Run it from the top source directory using the command close (); ) java_structs; + let close = output_to "java/Makefile.inc" in + pr "java_built_sources ="; + List.iter ( + fun (typ, jtyp) -> + pr " com/redhat/et/libguestfs/%s.java" jtyp; + ) java_structs; + pr " com/redhat/et/libguestfs/GuestFS.java\n"; + close (); + let close = output_to "java/com_redhat_et_libguestfs_GuestFS.c" in generate_java_c (); close (); |