From 215d428dec85a4c0a5639140a540505c8262796a Mon Sep 17 00:00:00 2001 From: jsm28 Date: Sat, 13 Jan 2001 00:24:39 +0000 Subject: [PATCH] * Makefile.in (info, maintainer-clean, install-info, uninstall): Also build and remove and install and uninstall c-tree.info and cppinternals.info. ($(srcdir)/gcc.info): Add dependency on contrib.texi. ($(srcdir)/cppinternals.info): New target. * c-tree.texi: Change file name used when makeinfo used without -o from ir.info to c-tree.info. Add info directory entry. * cppinternals.texi: Add info directory entry. * .cvsignore: Update. cp: * Make-lang.in (c++.info, c++.install-info): Build and install g++ internals info. (c++.uninstall, c++.maintainer-clean): Remove g++ internals info. ($(srcdir)/cp/g++int.info): New target. * gxxint.texi: Add info directory entry. Use @@ in email address. * .cvsignore: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38970 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/.cvsignore | 1 + gcc/ChangeLog | 12 ++++++++++++ gcc/Makefile.in | 17 +++++++++++++---- gcc/c-tree.texi | 10 +++++++--- gcc/cp/.cvsignore | 1 + gcc/cp/ChangeLog | 9 +++++++++ gcc/cp/Make-lang.in | 30 +++++++++++++++++++++++++++--- gcc/cp/gxxint.texi | 8 +++++++- gcc/cppinternals.texi | 8 ++++---- 9 files changed, 81 insertions(+), 15 deletions(-) diff --git a/gcc/.cvsignore b/gcc/.cvsignore index f866245..06e346d 100644 --- a/gcc/.cvsignore +++ b/gcc/.cvsignore @@ -8,3 +8,4 @@ tradcif.c gcc.info* cpp.info* c-tree.info* +cppinternals.info* diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6e89eab..f15a563 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2001-01-13 Joseph S. Myers + + * Makefile.in (info, maintainer-clean, install-info, uninstall): + Also build and remove and install and uninstall c-tree.info and + cppinternals.info. + ($(srcdir)/gcc.info): Add dependency on contrib.texi. + ($(srcdir)/cppinternals.info): New target. + * c-tree.texi: Change file name used when makeinfo used without -o + from ir.info to c-tree.info. Add info directory entry. + * cppinternals.texi: Add info directory entry. + * .cvsignore: Update. + 2001-01-12 Jakub Jelinek * c-typeck.c (store_init_value): Don't require constant initializer diff --git a/gcc/Makefile.in b/gcc/Makefile.in index f0e7a8e..146fcf6 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2182,20 +2182,24 @@ stmp-fixproto: fixhdr.ready fixproto stmp-int-hdrs # Remake the info files. doc: $(BUILD_INFO) gccbug -info: $(srcdir)/cpp.info $(srcdir)/gcc.info lang.info $(srcdir)/c-tree.info +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)/tm.texi $(srcdir)/gcov.texi $(srcdir)/contrib.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. @@ -2354,6 +2358,7 @@ maintainer-clean: -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 # # Entry points `install' and `uninstall'. @@ -2526,15 +2531,17 @@ install-driver: xgcc$(exeext) # 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*; do \ + 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; do \ + 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,6 +2549,7 @@ install-info: doc installdirs lang.install-info 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 $(srcdir)/gcc.1 $(GENERATED_MANPAGES) lang.install-man @@ -2673,6 +2681,7 @@ uninstall: intl.uninstall lang.uninstall $(UNINSTALL_CPP) -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. diff --git a/gcc/c-tree.texi b/gcc/c-tree.texi index 8f00e8c..7b1d08d 100644 --- a/gcc/c-tree.texi +++ b/gcc/c-tree.texi @@ -23,15 +23,19 @@ @c Prologue @c --------------------------------------------------------------------- -@setfilename ir.info +@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 Free Software Foundation, Inc. +Copyright (c) 1999, 2000, 2001 Free Software Foundation, Inc. @end ifinfo @c --------------------------------------------------------------------- @@ -43,7 +47,7 @@ Copyright (c) 1999, 2000 Free Software Foundation, Inc. @author CodeSourcery, LLC @page @vskip 0pt plus 1filll -Copyright @copyright{} 1999, 2000 Free Software Foundation, Inc. +Copyright @copyright{} 1999, 2000, 2001 Free Software Foundation, Inc. @end titlepage @c --------------------------------------------------------------------- diff --git a/gcc/cp/.cvsignore b/gcc/cp/.cvsignore index 449dedf..1baf6bb 100644 --- a/gcc/cp/.cvsignore +++ b/gcc/cp/.cvsignore @@ -1,2 +1,3 @@ parse.h parse.c +g++int.info* diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index fd6caef..08caa74 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,12 @@ +2001-01-13 Joseph S. Myers + + * Make-lang.in (c++.info, c++.install-info): Build and install g++ + internals info. + (c++.uninstall, c++.maintainer-clean): Remove g++ internals info. + ($(srcdir)/cp/g++int.info): New target. + * gxxint.texi: Add info directory entry. Use @@ in email address. + * .cvsignore: Update. + 2001-01-12 Nathan Sidwell * typeck.c (build_c_cast): Do template processing earlier. diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index ba03731..cbdd434 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -1,5 +1,5 @@ # Top level -*- makefile -*- fragment for GNU C++. -# Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000 +# Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. #This file is part of GNU CC. @@ -126,8 +126,15 @@ c++.all.cross: g++-cross$(exeext) $(DEMANGLER_PROG) c++.start.encap: g++$(exeext) c++.rest.encap: $(DEMANGLER_PROG) -c++.info: +c++.info: $(srcdir)/cp/g++int.info c++.dvi: + +$(srcdir)/cp/g++int.info: $(srcdir)/cp/gxxint.texi + if [ x$(BUILD_INFO) = xinfo ]; then \ + rm -f $(srcdir)/cp/g++int.info*; \ + cd $(srcdir)/cp && $(MAKEINFO) -o g++int.info gxxint.texi; \ + else true; fi + # # Install hooks: # cc1plus is installed elsewhere as part of $(COMPILERS). @@ -175,7 +182,22 @@ c++.install-common: fi ; \ fi -c++.install-info: +c++.install-info: c++.info + if [ -f cc1plus$(exeext) ] ; then \ + if [ -f $(srcdir)/cp/g++int.info ]; then \ + rm -f $(infodir)/g++int.info*; \ + for f in $(srcdir)/cp/g++int.info*; do \ + realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \ + $(INSTALL_DATA) $$f $(infodir)/$$realfile; \ + done; \ + chmod a-x $(infodir)/g++int.info*; \ + else true; fi; \ + else true; fi + -if [ -f cc1plus$(exeext) ] && [ -f $(infodir)/g++int.info ]; then \ + if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ + install-info --dir-file=$(infodir)/dir $(infodir)/g++int.info; \ + else true; fi; \ + else true; fi c++.install-man: $(srcdir)/cp/g++.1 -if [ -f cc1plus$(exeext) ] ; then \ @@ -199,6 +221,7 @@ c++.uninstall: -rm -rf $(bindir)/$(DEMANGLER_CROSS_NAME)$(exeext) -rm -rf $(man1dir)/$(GXX_INSTALL_NAME)$(manext) -rm -rf $(man1dir)/$(GXX_CROSS_NAME)$(manext) + -rm -rf $(infodir)/g++int.info* # # Clean hooks: # A lot of the ancillary files are deleted by the main makefile. @@ -213,6 +236,7 @@ c++.distclean: c++.extraclean: c++.maintainer-clean: -rm -f $(srcdir)/cp/parse.c $(srcdir)/cp/parse.h + -rm -f $(srcdir)/cp/g++int.info* # # Stage hooks: # The main makefile has already created stage?/cp. diff --git a/gcc/cp/gxxint.texi b/gcc/cp/gxxint.texi index 17bb81d..eaf8122 100644 --- a/gcc/cp/gxxint.texi +++ b/gcc/cp/gxxint.texi @@ -3,6 +3,12 @@ @setfilename g++int.info @settitle G++ internals @setchapternewpage odd +@ifinfo +@dircategory Programming +@direntry +* G++ internals: (g++int). G++ Internals. +@end direntry +@end ifinfo @c %**end of header @node Top, Limitations of g++, (dir), (dir) @@ -10,7 +16,7 @@ This is meant to describe the C++ front-end for gcc in detail. Questions and comments to Jason Merrill @email{jason@@redhat.com} and -Mark Mitchell @email{mark@codesourcery.com}. +Mark Mitchell @email{mark@@codesourcery.com}. @menu * Limitations of g++:: diff --git a/gcc/cppinternals.texi b/gcc/cppinternals.texi index c1604e9..25d9d9c 100644 --- a/gcc/cppinternals.texi +++ b/gcc/cppinternals.texi @@ -5,7 +5,7 @@ @ifinfo @dircategory Programming @direntry -* Cpplib: Cpplib internals. +* Cpplib: (cppinternals). Cpplib internals. @end direntry @end ifinfo @@ -16,7 +16,7 @@ @ifinfo This file documents the internals of the GNU C Preprocessor. -Copyright 2000 Free Software Foundation, Inc. +Copyright 2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -41,13 +41,13 @@ into another language, under the above conditions for modified versions. @titlepage @c @finalout @title Cpplib Internals -@subtitle Last revised Dec 2000 +@subtitle Last revised Jan 2001 @subtitle for GCC version 3.0 @author Neil Booth @page @vskip 0pt plus 1filll @c man begin COPYRIGHT -Copyright @copyright{} 2000 +Copyright @copyright{} 2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of -- 2.7.4