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


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

using install-info for info files


This makes the GCC and cpp info installation consistent with g77 and
GNU standards in trying to use install-info.  I made the entries
consistent with g77's.

Sun Jun 21 17:05:34 1998  Dave Love  <d.love@dl.ac.uk>

	* Makefile.in (install-info): Use install-info program if
	available, per GNU standard.

Index: cpp.texi
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cpp.texi,v
retrieving revision 1.3
diff -u -p -r1.3 cpp.texi
--- cpp.texi	1998/04/04 17:37:40	1.3
+++ cpp.texi	1998/06/21 16:05:29
@@ -2,15 +2,12 @@
 @setfilename cpp.info
 @settitle The C Preprocessor
 
-@ignore
 @ifinfo
-@format
-START-INFO-DIR-ENTRY
-* Cpp: (cpp).			The C preprocessor.
-END-INFO-DIR-ENTRY
-@end format
+@dircategory Programming
+@direntry
+* Cpp: (cpp).		       The GNU C preprocessor.
+@end direntry
 @end ifinfo
-@end ignore
 
 @c @smallbook
 @c @cropmarks
Index: gcc.texi
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/gcc.texi,v
retrieving revision 1.11
diff -u -p -r1.11 gcc.texi
--- gcc.texi	1998/05/20 00:24:28	1.11
+++ gcc.texi	1998/06/21 16:05:31
@@ -80,6 +80,10 @@
 @c @end tex
 
 @ifinfo
+@dircategory Programming
+@direntry
+* gcc: (gcc).                  The GNU C compiler.
+@end direntry
 @ifset INTERNALS
 @ifset USING
 This file documents the use and the internals of the GNU compiler.
Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/Makefile.in,v
retrieving revision 1.130
diff -u -p -r1.130 Makefile.in
--- Makefile.in	1998/06/20 23:55:08	1.130
+++ Makefile.in	1998/06/21 16:05:32
@@ -2365,6 +2365,9 @@ install-info: doc installdirs lang.insta
 	for f in cpp.info* gcc.info*; do \
 	    realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
 	    $(INSTALL_DATA) $$f $(infodir)/$$realfile; \
+	    if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+	       install-info --dir-file=$(infodir)/dir $(infodir)/$$realfile; \
+	    else true; fi
 	done
 	-chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info*
 


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