This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

`make install` should install the info files in java



I noticed one problem when running make install and have therefore a
questions: Should `make install` install all info files or not?  I
noticed that libjava uses in Makefile.am the automake option
"no-installinfo" which means that:

   Automake generates an `install-info' target; some people apparently
   use this.  By default, info pages are installed by `make install'.
   This can be prevented via the `no-installinfo' option.

Other makefiles seem to not use this and make install implies
install-info.  IMO we should be consistent everywhere.

Here's a patch for the libjava files.

I noticed a number of messages from automake. Is automake 1.4 the
correct version to use?

The messages are like (when using automake --foreign:)
automake: Makefile.am: not supported: source file `java/lang/reflect/natField.cc' is in subdirectory

Andreas


	
2001-03-26  Andreas Jaeger  <aj@suse.de>

	* gcj/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
	* gcj/Makefile.in: Rebuilt.

	* Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
	* Makefile.in: Rebuilt.

	* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
	* testsuite/Makefile.in: Rebuild.

============================================================
Index: libjava/Makefile.am
--- libjava/Makefile.am	2001/03/23 05:17:06	1.129.2.4
+++ libjava/Makefile.am	2001/03/26 08:29:48
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = foreign no-installinfo
+AUTOMAKE_OPTIONS = foreign
 
 if TESTSUBDIR
 SUBDIRS = $(DIRLTDL) testsuite gcj include
============================================================
Index: libjava/gcj/Makefile.am
--- libjava/gcj/Makefile.am	1999/09/10 22:03:06	1.1
+++ libjava/gcj/Makefile.am	2001/03/26 08:29:48
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = foreign no-installinfo
+AUTOMAKE_OPTIONS = foreign
 
 gcjdir = $(includedir)/gcj
 gcj_HEADERS = array.h cni.h field.h javaprims.h method.h
============================================================
Index: libjava/testsuite/Makefile.am
--- libjava/testsuite/Makefile.am	1999/04/07 14:52:41	1.1.1.1
+++ libjava/testsuite/Makefile.am	2001/03/26 08:29:48
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = foreign dejagnu no-installinfo
+AUTOMAKE_OPTIONS = foreign dejagnu
 
 # Setup the testing framework, if you have one
 EXPECT = `if [ -f $(top_builddir)/../expect/expect ] ; then \

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]