* doc/automake.texi (Java support): Rename this node ... (Java support with gcj): ... to this, and change its title from "Compiling Java sources" to "Compiling Java sources using gcj". (@detailmenu, @menu, @cindex): Update and make more precise. (Java): Change the title of this node from simply "Java" to "Java bytecode compilation". (@detailmenu, @menu, @cindex): Update and make more precise. --- ChangeLog | 11 +++++++++++ doc/automake.texi | 29 +++++++++++++++++------------ 2 files changed, 28 insertions(+), 12 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 8a697e6..74accb7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2011-09-19 Stefano Lattarini <stefano.lattar...@gmail.com> + + docs: clearer distinction between `.java' with javac and with gcj + * doc/automake.texi (Java support): Rename this node ... + (Java support with gcj): ... to this, and change its title from + "Compiling Java sources" to "Compiling Java sources using gcj". + (@detailmenu, @menu, @cindex): Update and make more precise. + (Java): Change the title of this node from simply "Java" to + "Java bytecode compilation". + (@detailmenu, @menu, @cindex): Update and make more precise. + 2011-09-18 Stefano Lattarini <stefano.lattar...@gmail.com> java: complain if java_JAVA is used but $(javadir) is undefined diff --git a/doc/automake.texi b/doc/automake.texi index bf2c872..4c5b9f8 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -230,7 +230,7 @@ Building Programs and Libraries * Assembly Support:: Compiling assembly sources * Fortran 77 Support:: Compiling Fortran 77 sources * Fortran 9x Support:: Compiling Fortran 9x sources -* Java Support:: Compiling Java sources +* Java Support with gcj:: Compiling Java sources using gcj * Vala Support:: Compiling Vala sources * Support for Other Languages:: Compiling other languages * ANSI:: Automatic de-ANSI-fication (deprecated, soon to be removed) @@ -291,7 +291,7 @@ Other GNU Tools * Emacs Lisp:: Emacs Lisp * gettext:: Gettext * Libtool:: Libtool -* Java:: Java +* Java:: Java bytecode compilation * Python:: Python Building documentation @@ -4627,7 +4627,7 @@ to build programs and libraries. * Assembly Support:: Compiling assembly sources * Fortran 77 Support:: Compiling Fortran 77 sources * Fortran 9x Support:: Compiling Fortran 9x sources -* Java Support:: Compiling Java sources +* Java Support with gcj:: Compiling Java sources using gcj * Vala Support:: Compiling Vala sources * Support for Other Languages:: Compiling other languages * ANSI:: Automatic de-ANSI-fication (deprecated, soon to be removed) @@ -6688,12 +6688,14 @@ is as follows: @end table -@node Java Support +@node Java Support with gcj @comment node-name, next, previous, up -@section Java Support +@section Compiling Java sources using gcj -@cindex Java support -@cindex Support for Java +@cindex Java support with gcj +@cindex Support for Java with gcj +@cindex Java to native code, compilation +@cindex Compilation of Java to native code Automake includes support for natively compiled Java, using @command{gcj}, the Java front end to the GNU Compiler Collection (preliminary support @@ -6792,8 +6794,9 @@ source file. Automake currently only includes full support for C, C++ (@pxref{C++ Support}), Objective C (@pxref{Objective C Support}), Fortran 77 (@pxref{Fortran 77 Support}), Fortran 9x (@pxref{Fortran 9x Support}), -and Java (@pxref{Java Support}). There is only rudimentary support for other -languages, support for which will be improved based on user demand. +and Java (@pxref{Java Support with gcj}). There is only rudimentary +support for other languages, support for which will be improved based +on user demand. Some limited support for adding your own languages is available via the suffix rule handling (@pxref{Suffixes}). @@ -7467,7 +7470,7 @@ use in GNU programs, it tries hard to interoperate with other GNU tools. * Emacs Lisp:: Emacs Lisp * gettext:: Gettext * Libtool:: Libtool -* Java:: Java +* Java:: Java bytecode compilation * Python:: Python @end menu @@ -7560,15 +7563,17 @@ libtool, The Libtool Manual}) with the @code{LTLIBRARIES} primary. @node Java -@section Java +@section Java bytecode compilation @cindex @code{_JAVA} primary, defined @cindex @code{JAVA} primary, defined @cindex Primary variable, @code{JAVA} +@cindex Java to bytecode, compilation +@cindex Compilation of Java to bytecode Automake provides some minimal support for Java bytecode compilation with the @code{JAVA} primary (in addition to the support for compiling Java to -native machine code; @pxref{Java Support}). +native machine code; @pxref{Java Support with gcj}). Any @file{.java} files listed in a @code{_JAVA} variable will be compiled with @code{JAVAC} at build time. By default, @file{.java} -- 1.7.2.3