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]

Re: documentation of trees vs RTL [Final?]



jsm28@cam.ac.uk said:
> to merge some indexes into the main concept one.  To catch all the
> index entries - some aren't included in the index at present - I think
> we should add

> @syncodeindex ky cp @syncodeindex pg cp @syncodeindex tp cp

> and consider afterwards how the indexing can be improved.  (For
> example, we might want a separate index of command line options -
> presently a few have @kindex entries - and one of diagnostic
> messages.)

> Could you do this, and could someone then review the resulting patch? 

Done.

See http://gcc.gnu.org/ml/gcc-patches/2001-05/msg01662.html for the 
complete summary of what this patch does (without the ../$(srcdir)
problem this time).

Executive summary: 

	mv c-tree doc into the main manual.
        Use texi2dvi instead of plain tex.
        Each language doc is generated in the corresponding language directory.
	Update some dependencies on fdl.texi

ChangeLog:

2001-05-23  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>

    * c-tree.texi: Reformat the manual as a single chapter now
    included by gcc.texi.
    
    * gcc.texi: Include c-tree.texi. Merge all indexes.

	* Makefile.in (dvi): Add generation for the cppinternals 
    documentation. Added dependencies on fdl.texi and c-tree.texi
    where appropriate.  Use TEXI2DVI instead of custom tex calls.
    (info): Added dependencies on fdl.texi and c-tree.texi where
    appropriate.  Remove the target c-tree.info.

f/ChangeLog:

2001-05-23  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>

    * Make-lang.in ($(srcdir)/f/g77.info): Added dependencies on fdl.texi.
    (f/g77.dvi): Use TEXI2DVI instead of custom tex calls.  Create the dvi
    file in the f directory.

ch/ChangeLog:

2001-05-23  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>

    * Make-lang.in (dvi): Use ch/chill.dvi not chill.dvi.
    (ch/chill.dvi): Use TEXI2DVI instead of custom tex calls.  Create the dvi
    file in the ch directory.


java/ChangeLog:

2001-05-23  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>

    * Make-lang.in ($(srcdir)/java/gcj.info): Added dependencies on fdl.texi.
    (java/gcj.dvi): Use TEXI2DVI instead of custom tex calls.  Create the dvi
    file in the java directory.

Index: gcc/gcc.texi
===================================================================
RCS file: /cvs/gcc/egcs/gcc/gcc.texi,v
retrieving revision 1.88
diff -c -3 -p -r1.88 gcc.texi
*** gcc.texi	2001/05/17 11:21:53	1.88
--- gcc.texi	2001/05/23 21:45:23
***************
*** 77,82 ****
--- 77,86 ----
  
  @syncodeindex fn cp
  @syncodeindex vr cp
+ @syncodeindex ky cp
+ @syncodeindex pg cp
+ @syncodeindex tp cp
+ 
  @c %**end of header
  
  @c Use with @@smallbook.
*************** bugs.  It corresponds to GCC version 3.1
*** 242,247 ****
--- 246,252 ----
  * Portability::     Goals of GCC's portability features.
  * Interface::       Function-call interface of GCC output.
  * Passes::          Order of passes, what they do, and what each file is for.
+ * Trees::           The source representation used by the C and C++ front-ends.
  * RTL::             The intermediate representation that most passes work on.
  * Machine Desc::    How to write machine description instruction patterns.
  * Target Macros::   How to write the machine description C macros.
*************** send to the bug reporting address.
*** 2622,2628 ****
  A number of fields in this bug report form are specific to GCC, and are
  explained at @uref{http://gcc.gnu.org/gnats.html}.
  
- 
  @node Sending Patches,, gccbug, Bugs
  @section Sending Patches for GCC
  
--- 2627,2632 ----
*************** from the machine description by the prog
*** 3829,3834 ****
--- 3833,3839 ----
  @end ifset
  
  @ifset INTERNALS
+ @include c-tree.texi
  @include rtl.texi
  @include md.texi
  @include tm.texi
*************** consider it more useful to permit linkin
*** 4751,4756 ****
--- 4756,4765 ----
  library.  If this is what you want to do, use the GNU Library General
  Public License instead of this License.
  
+ @c ---------------------------------------------------------------------
+ @c GFDL
+ @c ---------------------------------------------------------------------
+ 
  @include fdl.texi
  
  @node Contributors
*************** Public License instead of this License.
*** 4758,4767 ****
--- 4767,4784 ----
  @cindex contributors
  @include contrib.texi
  
+ @c ---------------------------------------------------------------------
+ @c Node Index
+ @c ---------------------------------------------------------------------
+ 
  @node Index
  @unnumbered Index
  
  @printindex cp
+ 
+ @c ---------------------------------------------------------------------
+ @c Epilogue
+ @c ---------------------------------------------------------------------
  
  @summarycontents
  @contents
Index: gcc/c-tree.texi
===================================================================
RCS file: /cvs/gcc/egcs/gcc/c-tree.texi,v
retrieving revision 1.13
diff -c -3 -p -r1.13 c-tree.texi
*** c-tree.texi	2001/05/22 00:52:58	1.13
--- c-tree.texi	2001/05/23 21:45:23
***************
*** 1,61 ****
! \input texinfo
  
  @c ---------------------------------------------------------------------
! @c Prologue
! @c ---------------------------------------------------------------------
! 
! @setfilename c-tree.info
! @settitle C/C++ Internal Representation
! @setchapternewpage on
! 
! @ifinfo
! @dircategory Programming
! @direntry
! * c-tree: (c-tree).            C/C++ Internal Representation
! @end direntry
! This manual documents the internal representation used by GCC to represent
! C and C++ source programs.
! 
! Copyright (c) 1999, 2000, 2001 Free Software Foundation, Inc.
! @end ifinfo
! 
! @c ---------------------------------------------------------------------
! @c Title page
! @c ---------------------------------------------------------------------
! 
! @titlepage
! @title C/C++ Internal Representation
! @author CodeSourcery, LLC <info@@codesourcery.com>
! @page
! @vskip 0pt plus 1filll
! Copyright @copyright{} 1999, 2000, 2001 Free Software Foundation, Inc.
! 
! Permission is granted to copy, distribute and/or modify this document
! under the terms of the GNU Free Documentation License, Version 1.1 or
! any later version published by the Free Software Foundation; with no
! invariant sections, the Front-Cover texts being (a) (see below), and
! with the Back-Cover Texts being (b) (see below).  A copy of the license
! is included in the section entitled ``GNU Free Documentation License''.
! 
! (a) The FSF's Front-Cover Text is:
! 
!      A GNU Manual
! 
! (b) The FSF's Back-Cover Text is:
! 
!      You have freedom to copy and modify this GNU Manual, like GNU
!      software.  Copies published by the Free Software Foundation raise
!      funds for GNU development.
! @end titlepage
! 
! @c ---------------------------------------------------------------------
! @c Top
  @c ---------------------------------------------------------------------
  
! @node Top
! @top C/C++ Internal Representation
  
! This manual documents the internal representation used by GCC and C++ to
  represent C and C++ source programs.  When presented with a C or C++
  source program, GCC parses the program, performs semantic analysis
  (including the generation of error messages), and then produces the
--- 1,18 ----
! @c Copyright (c) 1999, 2000, 2001 Free Software Foundation, Inc.
! @c Free Software Foundation, Inc.
! @c This is part of the GCC manual.
! @c For copying conditions, see the file gcc.texi.
  
  @c ---------------------------------------------------------------------
! @c Trees
  @c ---------------------------------------------------------------------
  
! @node Trees: C/C++ Internal Representation
! @chapter Trees: The intermediate representation used by the C and C++ front-ends
! @cindex Trees
! @cindex C/C++ Internal Representation
  
! This chapter documents the internal representation used by GCC and C++ to
  represent C and C++ source programs.  When presented with a C or C++
  source program, GCC parses the program, performs semantic analysis
  (including the generation of error messages), and then produces the
*************** used in the creation of source browsers,
*** 67,76 ****
  documentation generators, interpreters, and any other programs needing
  the ability to process C or C++ code.
  
! This manual explains the internal representation.  In particular, this
! manual documents the internal representation for C and C++ source
  constructs, and the macros, functions, and variables that can be used to
! access these constructs.
  
  If you are developing a ``back-end'', be it is a code-generator or some
  other tool, that uses this representation, you may occasionally find
--- 24,38 ----
  documentation generators, interpreters, and any other programs needing
  the ability to process C or C++ code.
  
! This chapter explains the internal representation.  In particular, it
! documents the internal representation for C and C++ source
  constructs, and the macros, functions, and variables that can be used to
! access these constructs.  The C++ representation which is largely a superset
! of the representation used in the C front-end.  There is only one
! construct used in C that does not appear in the C++ front-end and that
! is the GNU ``nested function'' extension.  Many of the macros documented
! here do not apply in C because the corresponding language constructs do
! not appear in C.
  
  If you are developing a ``back-end'', be it is a code-generator or some
  other tool, that uses this representation, you may occasionally find
*************** yourself writing functions that do not d
*** 84,96 ****
  but instead might be useful to other people using the GCC front-end, you
  should submit your patches for inclusion in GCC.
  
- This manual documents the C++ representation which is largely a superset
- of the representation used in the C front-end.  There is only one
- construct used in C that does not appear in the C++ front-end and that
- is the GNU ``nested function'' extension.  Many of the macros documented
- here do not apply in C because the corresponding language constructs do
- not appear in C.
- 
  @menu
  * Deficiencies::        Topics net yet covered in this document.
  * Overview::            All about @code{tree}s.
--- 46,51 ----
*************** not appear in C.
*** 110,116 ****
  @c ---------------------------------------------------------------------
  
  @node Deficiencies
! @chapter Deficiencies
  
  There are many places in which this document is incomplet and incorrekt.
  It is, as of yet, only @emph{preliminary} documentation.
--- 65,71 ----
  @c ---------------------------------------------------------------------
  
  @node Deficiencies
! @section Deficiencies
  
  There are many places in which this document is incomplet and incorrekt.
  It is, as of yet, only @emph{preliminary} documentation.
*************** It is, as of yet, only @emph{preliminary
*** 120,126 ****
  @c ---------------------------------------------------------------------
  
  @node Overview
! @chapter Overview
  @cindex tree
  @findex TREE_CODE
  
--- 75,81 ----
  @c ---------------------------------------------------------------------
  
  @node Overview
! @section Overview
  @cindex tree
  @findex TREE_CODE
  
*************** bug.
*** 217,223 ****
  @c ---------------------------------------------------------------------
  
  @node Trees
! @section Trees
  @cindex tree
  
  This section is not here yet.
--- 172,178 ----
  @c ---------------------------------------------------------------------
  
  @node Trees
! @subsection Trees
  @cindex tree
  
  This section is not here yet.
*************** This section is not here yet.
*** 227,233 ****
  @c ---------------------------------------------------------------------
  
  @node Identifiers
! @section Identifiers
  @cindex identifier
  @cindex name
  @tindex IDENTIFIER_NODE
--- 182,188 ----
  @c ---------------------------------------------------------------------
  
  @node Identifiers
! @subsection Identifiers
  @cindex identifier
  @cindex name
  @tindex IDENTIFIER_NODE
*************** operator converts.
*** 273,279 ****
  @c ---------------------------------------------------------------------
  
  @node Containers
! @section Containers
  @cindex container
  @cindex list
  @cindex vector
--- 228,234 ----
  @c ---------------------------------------------------------------------
  
  @node Containers
! @subsection Containers
  @cindex container
  @cindex list
  @cindex vector
*************** The elements are indexed from zero.
*** 308,314 ****
  @c ---------------------------------------------------------------------
  
  @node Types
! @chapter Types
  @cindex type
  @cindex pointer
  @cindex reference
--- 263,269 ----
  @c ---------------------------------------------------------------------
  
  @node Types
! @section Types
  @cindex type
  @cindex pointer
  @cindex reference
*************** in hand, using @code{same_type_p}.
*** 633,639 ****
  @c ---------------------------------------------------------------------
  
  @node Scopes
! @chapter Scopes
  @cindex namespace, class, scope
  
  The root of the entire intermediate representation is the variable
--- 588,594 ----
  @c ---------------------------------------------------------------------
  
  @node Scopes
! @section Scopes
  @cindex namespace, class, scope
  
  The root of the entire intermediate representation is the variable
*************** keywords.)
*** 657,663 ****
  @c ---------------------------------------------------------------------
  
  @node Namespaces
! @section Namespaces
  @cindex namespace
  @tindex NAMESPACE_DECL
  
--- 612,618 ----
  @c ---------------------------------------------------------------------
  
  @node Namespaces
! @subsection Namespaces
  @cindex namespace
  @tindex NAMESPACE_DECL
  
*************** This function cannot be used with namesp
*** 749,755 ****
  @c ---------------------------------------------------------------------
  
  @node Classes
! @section Classes
  @cindex class
  @tindex RECORD_TYPE
  @tindex UNION_TYPE
--- 704,710 ----
  @c ---------------------------------------------------------------------
  
  @node Classes
! @subsection Classes
  @cindex class
  @tindex RECORD_TYPE
  @tindex UNION_TYPE
*************** overloaded. 
*** 876,882 ****
  @c ---------------------------------------------------------------------
  
  @node Declarations
! @chapter Declarations
  @cindex declaration
  @cindex variable
  @cindex type declaration
--- 831,837 ----
  @c ---------------------------------------------------------------------
  
  @node Declarations
! @section Declarations
  @cindex declaration
  @cindex variable
  @cindex type declaration
*************** overloaded. 
*** 897,903 ****
  @findex DECL_ALIGN
  @findex DECL_EXTERNAL
  
! This chapter covers the various kinds of declarations that appear in the
  internal representation, except for declarations of functions
  (represented by @code{FUNCTION_DECL} nodes), which are described in
  @ref{Functions}.
--- 852,858 ----
  @findex DECL_ALIGN
  @findex DECL_EXTERNAL
  
! This section covers the various kinds of declarations that appear in the
  internal representation, except for declarations of functions
  (represented by @code{FUNCTION_DECL} nodes), which are described in
  @ref{Functions}.
*************** Back-ends can safely ignore these nodes.
*** 1051,1057 ****
  @c ---------------------------------------------------------------------
  
  @node Functions
! @chapter Functions
  @cindex function
  @tindex FUNCTION_DECL
  @tindex OVERLOAD
--- 1006,1012 ----
  @c ---------------------------------------------------------------------
  
  @node Functions
! @section Functions
  @cindex function
  @tindex FUNCTION_DECL
  @tindex OVERLOAD
*************** function, and the back-end must take app
*** 1113,1119 ****
  @c ---------------------------------------------------------------------
  
  @node Function Basics
! @section Function Basics
  @cindex constructor
  @cindex destructor
  @cindex copy constructor
--- 1068,1074 ----
  @c ---------------------------------------------------------------------
  
  @node Function Basics
! @subsection Function Basics
  @cindex constructor
  @cindex destructor
  @cindex copy constructor
*************** This predicate holds if the function an 
*** 1316,1322 ****
  @c ---------------------------------------------------------------------
  
  @node Function Bodies
! @section Function Bodies
  @cindex function body
  @cindex statements
  @tindex ASM_STMT
--- 1271,1277 ----
  @c ---------------------------------------------------------------------
  
  @node Function Bodies
! @subsection Function Bodies
  @cindex function body
  @cindex statements
  @tindex ASM_STMT
*************** function.  This node will usually be a @
*** 1385,1391 ****
  the outermost block of the function, but it may also be a
  @code{TRY_BLOCK}, a @code{RETURN_INIT}, or any other valid statement.
  
! @subsection Statements
  
  There are tree nodes corresponding to all of the source-level statement
  constructs.  These are enumerated here, together with a list of the
--- 1340,1346 ----
  the outermost block of the function, but it may also be a
  @code{TRY_BLOCK}, a @code{RETURN_INIT}, or any other valid statement.
  
! @subsubsection Statements
  
  There are tree nodes corresponding to all of the source-level statement
  constructs.  These are enumerated here, together with a list of the
*************** The @code{WHILE_BODY} is the body of the
*** 1711,1717 ****
  @c ---------------------------------------------------------------------
  
  @node Expressions
! @chapter Expressions
  @cindex expression
  @findex TREE_OPERAND
  @tindex INTEGER_CST
--- 1666,1672 ----
  @c ---------------------------------------------------------------------
  
  @node Expressions
! @section Expressions
  @cindex expression
  @findex TREE_OPERAND
  @tindex INTEGER_CST
*************** given by the third operand to the @code{
*** 2279,2323 ****
  not return a value.
  
  @end table
- 
- @c ---------------------------------------------------------------------
- @c GFDL
- @c ---------------------------------------------------------------------
- 
- @include fdl.texi
- 
- @c ---------------------------------------------------------------------
- @c Node Index
- @c ---------------------------------------------------------------------
- 
- @node Node Index
- @unnumbered Node Index
- 
- @printindex tp
- 
- @c ---------------------------------------------------------------------
- @c Function Index
- @c ---------------------------------------------------------------------
- 
- @node Function Index
- @unnumbered Function Index
- 
- @printindex fn
- 
- @c ---------------------------------------------------------------------
- @c Concept Index
- @c ---------------------------------------------------------------------
- 
- @node Concept Index
- @unnumbered Concept Index
- 
- @printindex cp
- 
- @c ---------------------------------------------------------------------
- @c Epilogue
- @c ---------------------------------------------------------------------
- 
- @summarycontents
- @contents
- @contents
- @bye
--- 2234,2236 ----
Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/Makefile.in,v
retrieving revision 1.667
diff -c -3 -p -r1.667 Makefile.in
*** Makefile.in	2001/05/22 14:16:58	1.667
--- Makefile.in	2001/05/23 21:45:24
*************** stmp-fixproto: fixhdr.ready fixproto stm
*** 2188,2227 ****
  # Remake the info files.
  
  doc: $(BUILD_INFO) gccbug
! info: $(srcdir)/cpp.info $(srcdir)/gcc.info lang.info $(srcdir)/c-tree.info $(srcdir)/cppinternals.info
  
  $(srcdir)/cpp.info: $(srcdir)/cpp.texi
  	cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -o cpp.info cpp.texi
  
  $(srcdir)/gcc.info: $(srcdir)/gcc.texi $(srcdir)/extend.texi $(srcdir)/install.texi \
! 	  $(srcdir)/invoke.texi $(srcdir)/md.texi $(srcdir)/rtl.texi \
! 	  $(srcdir)/tm.texi $(srcdir)/gcov.texi $(srcdir)/contrib.texi \
! 	  $(srcdir)/objc.texi
  	cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -o gcc.info gcc.texi
  
- $(srcdir)/c-tree.info: $(srcdir)/c-tree.texi
- 	cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -o c-tree.info \
- 		c-tree.texi
- 
  $(srcdir)/cppinternals.info: $(srcdir)/cppinternals.texi
  	cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -o cppinternals.info \
  		cppinternals.texi
  
! dvi: gcc.dvi cpp.dvi lang.dvi
  
  # This works with GNU Make's default rule.
  gcc.dvi: $(srcdir)/gcc.texi $(srcdir)/extend.texi $(srcdir)/install.texi \
! 	 $(srcdir)/invoke.texi $(srcdir)/md.texi $(srcdir)/rtl.texi \
! 	 $(srcdir)/tm.texi $(srcdir)/gcov.texi $(srcdir)/contrib.texi \
! 	 $(srcdir)/objc.texi
! 	TEXINPUTS=${texidir}:$(srcdir):$$TEXINPUTS tex gcc.texi
! 	texindex gcc.??
! 	TEXINPUTS=${texidir}:$(srcdir):$$TEXINPUTS tex gcc.texi
  
! cpp.dvi: $(srcdir)/cpp.texi
! 	TEXINPUTS=${texidir}:$(srcdir):$$TEXINPUTS tex cpp.texi
! 	texindex cpp.??
! 	TEXINPUTS=${texidir}:$(srcdir):$$TEXINPUTS tex cpp.texi
  
  generated-manpages: $(srcdir)/gcov.1 $(srcdir)/cpp.1 $(srcdir)/gcc.1
  
--- 2188,2222 ----
  # Remake the info files.
  
  doc: $(BUILD_INFO) gccbug
! info: $(srcdir)/cpp.info $(srcdir)/gcc.info lang.info $(srcdir)/cppinternals.info
  
  $(srcdir)/cpp.info: $(srcdir)/cpp.texi
  	cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -o cpp.info cpp.texi
  
  $(srcdir)/gcc.info: $(srcdir)/gcc.texi $(srcdir)/extend.texi $(srcdir)/install.texi \
! 	 $(srcdir)/invoke.texi $(srcdir)/md.texi $(srcdir)/c-tree.texi \
! 	 $(srcdir)/rtl.texi $(srcdir)/tm.texi $(srcdir)/gcov.texi \
! 	 $(srcdir)/contrib.texi $(srcdir)/objc.texi $(srcdir)/fdl.texi
  	cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -o gcc.info gcc.texi
  
  $(srcdir)/cppinternals.info: $(srcdir)/cppinternals.texi
  	cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -o cppinternals.info \
  		cppinternals.texi
  
! dvi: gcc.dvi cpp.dvi lang.dvi cppinternals.dvi
  
  # This works with GNU Make's default rule.
+ cpp.dvi: $(srcdir)/cpp.texi
+ 	$(TEXI2DVI) -I $(srcdir) $(srcdir)/cpp.texi
+ 
  gcc.dvi: $(srcdir)/gcc.texi $(srcdir)/extend.texi $(srcdir)/install.texi \
! 	 $(srcdir)/invoke.texi $(srcdir)/md.texi $(srcdir)/c-tree.texi \
! 	 $(srcdir)/rtl.texi $(srcdir)/tm.texi $(srcdir)/gcov.texi \
! 	 $(srcdir)/contrib.texi $(srcdir)/objc.texi $(srcdir)/fdl.texi
! 	$(TEXI2DVI) -I $(srcdir) $(srcdir)/gcc.texi
  
! cppinternals.dvi: $(srcdir)/cppinternals.texi
! 	$(TEXI2DVI) -I $(srcdir) $(srcdir)/cppinternals.texi
  
  generated-manpages: $(srcdir)/gcov.1 $(srcdir)/cpp.1 $(srcdir)/gcc.1
  
*************** maintainer-clean:
*** 2375,2381 ****
  	-rm -f c-parse.y c-parse.c c-parse.output TAGS
  	-rm -f cpp.??s cpp.*aux
  	-rm -f gcc.??s gcc.*aux
! 	-rm -f $(srcdir)/cpp.info* $(srcdir)/gcc.info* $(srcdir)/c-tree.info*
  	-rm -f $(srcdir)/cppinternals.info*
  	-rm -f $(srcdir)/gcov.1 $(srcdir)/cpp.1 $(srcdir)/gcc.1
  #
--- 2370,2376 ----
  	-rm -f c-parse.y c-parse.c c-parse.output TAGS
  	-rm -f cpp.??s cpp.*aux
  	-rm -f gcc.??s gcc.*aux
! 	-rm -f $(srcdir)/cpp.info* $(srcdir)/gcc.info*
  	-rm -f $(srcdir)/cppinternals.info*
  	-rm -f $(srcdir)/gcov.1 $(srcdir)/cpp.1 $(srcdir)/gcc.1
  #
*************** install-driver: installdirs xgcc$(exeext
*** 2547,2563 ****
  # to do the install.
  install-info: doc installdirs lang.install-info
  	-rm -f $(infodir)/cpp.info* $(infodir)/gcc.info*
! 	-rm -f $(infodir)/c-tree.info* $(infodir)/cppinternals.info*
  	if [ -f $(srcdir)/gcc.info ]; then \
  	  for f in $(srcdir)/cpp.info* $(srcdir)/gcc.info* \
! 		$(srcdir)/c-tree.info* $(srcdir)/cppinternals.info*; do \
  	    realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
  	    $(INSTALL_DATA) $$f $(infodir)/$$realfile; \
  	  done; \
  	else true; fi
  	-if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
  	  if [ -f $(infodir)/dir ] ; then \
! 	    for f in cpp.info gcc.info c-tree.info cppinternals.info; do \
  		if [ -f $(infodir)/$$f ]; then \
  		  install-info --dir-file=$(infodir)/dir $(infodir)/$$f; \
  		else true; fi \
--- 2542,2558 ----
  # to do the install.
  install-info: doc installdirs lang.install-info
  	-rm -f $(infodir)/cpp.info* $(infodir)/gcc.info*
! 	-rm -f $(infodir)/cppinternals.info*
  	if [ -f $(srcdir)/gcc.info ]; then \
  	  for f in $(srcdir)/cpp.info* $(srcdir)/gcc.info* \
! 		$(srcdir)/cppinternals.info*; do \
  	    realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
  	    $(INSTALL_DATA) $$f $(infodir)/$$realfile; \
  	  done; \
  	else true; fi
  	-if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
  	  if [ -f $(infodir)/dir ] ; then \
! 	    for f in cpp.info gcc.info cppinternals.info; do \
  		if [ -f $(infodir)/$$f ]; then \
  		  install-info --dir-file=$(infodir)/dir $(infodir)/$$f; \
  		else true; fi \
*************** install-info: doc installdirs lang.insta
*** 2565,2571 ****
  	  else true; fi; \
  	else true; fi;
  	-chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info*
! 	-chmod a-x $(infodir)/c-tree.info* $(infodir)/cppinternals.info*
  
  # Install the man pages.
  install-man: installdirs $(GENERATED_MANPAGES) lang.install-man
--- 2560,2566 ----
  	  else true; fi; \
  	else true; fi;
  	-chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info*
! 	-chmod a-x $(infodir)/cppinternals.info*
  
  # Install the man pages.
  install-man: installdirs $(GENERATED_MANPAGES) lang.install-man
*************** uninstall: intl.uninstall lang.uninstall
*** 2700,2706 ****
  	-rm -rf $(man1dir)/protoize$(manext)
  	-rm -rf $(man1dir)/unprotoize$(manext)
  	-rm -f $(infodir)/cpp.info* $(infodir)/gcc.info*
! 	-rm -f $(infodir)/c-tree.info* $(infodir)/cppinternals.info*
  #
  # These targets are for the dejagnu testsuites. The file site.exp
  # contains global variables that all the testsuites will use.
--- 2695,2701 ----
  	-rm -rf $(man1dir)/protoize$(manext)
  	-rm -rf $(man1dir)/unprotoize$(manext)
  	-rm -f $(infodir)/cpp.info* $(infodir)/gcc.info*
! 	-rm -f $(infodir)/cppinternals.info*
  #
  # These targets are for the dejagnu testsuites. The file site.exp
  # contains global variables that all the testsuites will use.
Index: gcc/f/Make-lang.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/f/Make-lang.in,v
retrieving revision 1.81
diff -c -3 -p -r1.81 Make-lang.in
*** Make-lang.in	2001/05/20 13:50:44	1.81
--- Make-lang.in	2001/05/23 21:45:24
*************** f77.dvi: f/g77.dvi
*** 170,178 ****
  
  # g77 documentation.
  $(srcdir)/f/g77.info: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
! 	    $(srcdir)/f/ffe.texi \
! 	    $(srcdir)/f/g77install.texi $(srcdir)/f/news.texi \
! 	    $(srcdir)/f/intdoc.texi $(srcdir)/f/root.texi
  	case "$(LANGUAGES)" in \
  	  *[fF]77*) $(STAMP) lang-f77;; \
  	  *) rm -f lang-f77;; \
--- 170,178 ----
  
  # g77 documentation.
  $(srcdir)/f/g77.info: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
! 		$(srcdir)/f/ffe.texi $(srcdir)/f/g77install.texi \
! 		$(srcdir)/f/news.texi  $(srcdir)/f/intdoc.texi \
! 		$(srcdir)/f/root.texi $(srcdir)/fdl.texi
  	case "$(LANGUAGES)" in \
  	  *[fF]77*) $(STAMP) lang-f77;; \
  	  *) rm -f lang-f77;; \
*************** $(srcdir)/f/g77.info: $(srcdir)/f/g77.te
*** 183,204 ****
  	else true; fi
  
  f/g77.dvi: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
! 	    $(srcdir)/f/ffe.texi \
! 	    $(srcdir)/f/g77install.texi $(srcdir)/f/news.texi \
! 	    $(srcdir)/f/intdoc.texi $(srcdir)/f/root.texi
  	case "$(LANGUAGES)" in \
  	  *[fF]77*) $(STAMP) lang-f77;; \
  	  *) rm -f lang-f77;; \
  	esac
- # `tex2dvi' was used below, but the Texinfo 3.12 one won't work properly
- # with the include files from $(srcdir).  This use of TEXINPUTS may not
- # be universally valid.  `$(TEX)' should be used if it gets defined in
- # gcc/Makefile.in.
  	if [ -f lang-f77 ]; then \
! 	  TEXINPUTS=$(srcdir)/f:$(srcdir):$$TEXINPUTS tex $(srcdir)/f/g77.texi; \
! 	  texindex g77.??; \
! 	  TEXINPUTS=$(srcdir)/f:$(srcdir):$$TEXINPUTS tex $(srcdir)/f/g77.texi; \
! 	  mv g77.dvi f; \
  	else true; fi
  
  # This dance is all about producing accurate documentation for g77's
--- 183,198 ----
  	else true; fi
  
  f/g77.dvi: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
! 		$(srcdir)/f/ffe.texi $(srcdir)/f/g77install.texi \
! 		$(srcdir)/f/news.texi  $(srcdir)/f/intdoc.texi \
! 		$(srcdir)/f/root.texi $(srcdir)/fdl.texi
  	case "$(LANGUAGES)" in \
  	  *[fF]77*) $(STAMP) lang-f77;; \
  	  *) rm -f lang-f77;; \
  	esac
  	if [ -f lang-f77 ]; then \
! 	  s=`cd $(srcdir); pwd`; export s; \
! 	  cd f && $(TEXI2DVI) -I $$s $$s/f/g77.texi; \
  	else true; fi
  
  # This dance is all about producing accurate documentation for g77's
Index: gcc/ch/Make-lang.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ch/Make-lang.in,v
retrieving revision 1.21
diff -c -3 -p -r1.21 Make-lang.in
*** Make-lang.in	2001/05/20 13:50:43	1.21
--- Make-lang.in	2001/05/23 21:45:24
*************** CHILL.all.build: chill
*** 106,122 ****
  CHILL.all.cross: chill-cross
  CHILL.start.encap: chill
  CHILL.rest.encap:
! CHILL.dvi: chill.dvi
  
  CHILL.info: $(srcdir)/ch/chill.info
  
  $(srcdir)/ch/chill.info: $(srcdir)/ch/chill.texi
  	cd $(srcdir)/ch && $(MAKEINFO) -o chill.info chill.texi
  
! chill.dvi: $(srcdir)/ch/chill.texi
! 	TEXINPUTS=${texidir}:$(srcdir)/ch:$(srcdir):$$TEXINPUTS tex $(srcdir)/ch/chill.texi ; \
! 	texindex chill.?? ; \
! 	TEXINPUTS=${texidir}:$(srcdir)/ch:$(srcdir)$$TEXINPUTS tex $(srcdir)/ch/chill.texi
  #
  # Install hooks:
  # cc1chill is installed elsewhere as part of $(COMPILERS).
--- 106,122 ----
  CHILL.all.cross: chill-cross
  CHILL.start.encap: chill
  CHILL.rest.encap:
! CHILL.dvi: ch/chill.dvi
  
  CHILL.info: $(srcdir)/ch/chill.info
  
  $(srcdir)/ch/chill.info: $(srcdir)/ch/chill.texi
  	cd $(srcdir)/ch && $(MAKEINFO) -o chill.info chill.texi
  
! ch/chill.dvi: $(srcdir)/ch/chill.texi
! 	s=`cd $(srcdir); pwd`; export s; \
! 	cd ch && $(TEXI2DVI) $$s/ch/chill.texi
! 
  #
  # Install hooks:
  # cc1chill is installed elsewhere as part of $(COMPILERS).
Index: gcc/java/Make-lang.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/Make-lang.in,v
retrieving revision 1.60
diff -c -3 -p -r1.60 Make-lang.in
*** Make-lang.in	2001/05/01 22:21:01	1.60
--- Make-lang.in	2001/05/23 21:45:25
*************** java/jcf-path.o: java/jcf-path.c $(CONFI
*** 293,305 ****
  	  $(srcdir)/java/jcf-path.c $(OUTPUT_OPTION)
  
  # Documentation
! $(srcdir)/java/gcj.info: $(srcdir)/java/gcj.texi
  	if test "x$(BUILD_INFO)" = xinfo; then \
  	  rm -f $(srcdir)/java/gcc.info*; \
  	  cd $(srcdir)/java && $(MAKEINFO) -I.. -o gcj.info gcj.texi; \
  	else true; fi
  
! java/gcj.dvi: $(srcdir)/java/gcj.texi
! 	TEXINPUTS=${texidir}:$(srcdir)/java:$(srcdir):$$TEXINPUTS tex gcj.texi
! 	texindex gcj.??
! 	TEXINPUTS=${texidir}:$(srcdir)/java:$(srcdir):$$TEXINPUTS tex gcj.texi
--- 293,304 ----
  	  $(srcdir)/java/jcf-path.c $(OUTPUT_OPTION)
  
  # Documentation
! $(srcdir)/java/gcj.info: $(srcdir)/java/gcj.texi $(srcdir)/fdl.texi
  	if test "x$(BUILD_INFO)" = xinfo; then \
  	  rm -f $(srcdir)/java/gcc.info*; \
  	  cd $(srcdir)/java && $(MAKEINFO) -I.. -o gcj.info gcj.texi; \
  	else true; fi
  
! java/gcj.dvi: $(srcdir)/java/gcj.texi $(srcdir)/fdl.texi
! 	s=`cd $(srcdir); pwd`; export s; \
! 	cd java && $(TEXI2DVI) -I $$s $$s/java/gcj.texi

--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
 --------------------------------------------------------------------


PGP signature


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