Makefile.in (info, [...]): Also build and remove and install and uninstall c-tree.info and cppinternals.info.

* 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.

From-SVN: r38970
This commit is contained in:
Joseph Myers 2001-01-13 00:24:39 +00:00 committed by Joseph Myers
parent 706c0c1156
commit 23de1fbfd0
9 changed files with 81 additions and 15 deletions

View File

@ -8,3 +8,4 @@ tradcif.c
gcc.info* gcc.info*
cpp.info* cpp.info*
c-tree.info* c-tree.info*
cppinternals.info*

View File

@ -1,3 +1,15 @@
2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
* 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 <jakub@redhat.com> 2001-01-12 Jakub Jelinek <jakub@redhat.com>
* c-typeck.c (store_init_value): Don't require constant initializer * c-typeck.c (store_init_value): Don't require constant initializer

View File

@ -2182,20 +2182,24 @@ stmp-fixproto: fixhdr.ready fixproto stmp-int-hdrs
# Remake the info files. # Remake the info files.
doc: $(BUILD_INFO) gccbug 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 $(srcdir)/cpp.info: $(srcdir)/cpp.texi
cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -o cpp.info cpp.texi cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -o cpp.info cpp.texi
$(srcdir)/gcc.info: $(srcdir)/gcc.texi $(srcdir)/extend.texi $(srcdir)/install.texi \ $(srcdir)/gcc.info: $(srcdir)/gcc.texi $(srcdir)/extend.texi $(srcdir)/install.texi \
$(srcdir)/invoke.texi $(srcdir)/md.texi $(srcdir)/rtl.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 cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -o gcc.info gcc.texi
$(srcdir)/c-tree.info: $(srcdir)/c-tree.texi $(srcdir)/c-tree.info: $(srcdir)/c-tree.texi
cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -o c-tree.info \ cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -o c-tree.info \
c-tree.texi 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 dvi: gcc.dvi cpp.dvi lang.dvi
# This works with GNU Make's default rule. # This works with GNU Make's default rule.
@ -2354,6 +2358,7 @@ maintainer-clean:
-rm -f cpp.??s cpp.*aux -rm -f cpp.??s cpp.*aux
-rm -f gcc.??s gcc.*aux -rm -f gcc.??s gcc.*aux
-rm -f $(srcdir)/cpp.info* $(srcdir)/gcc.info* $(srcdir)/c-tree.info* -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 -rm -f $(srcdir)/gcov.1 $(srcdir)/cpp.1
# #
# Entry points `install' and `uninstall'. # Entry points `install' and `uninstall'.
@ -2526,15 +2531,17 @@ install-driver: xgcc$(exeext)
# to do the install. # to do the install.
install-info: doc installdirs lang.install-info install-info: doc installdirs lang.install-info
-rm -f $(infodir)/cpp.info* $(infodir)/gcc.info* -rm -f $(infodir)/cpp.info* $(infodir)/gcc.info*
-rm -f $(infodir)/c-tree.info* $(infodir)/cppinternals.info*
if [ -f $(srcdir)/gcc.info ]; then \ 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|'`; \ realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
$(INSTALL_DATA) $$f $(infodir)/$$realfile; \ $(INSTALL_DATA) $$f $(infodir)/$$realfile; \
done; \ done; \
else true; fi else true; fi
-if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ -if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
if [ -f $(infodir)/dir ] ; 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 \ if [ -f $(infodir)/$$f ]; then \
install-info --dir-file=$(infodir)/dir $(infodir)/$$f; \ install-info --dir-file=$(infodir)/dir $(infodir)/$$f; \
else true; fi \ else true; fi \
@ -2542,6 +2549,7 @@ install-info: doc installdirs lang.install-info
else true; fi; \ else true; fi; \
else true; fi; else true; fi;
-chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info* -chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info*
-chmod a-x $(infodir)/c-tree.info* $(infodir)/cppinternals.info*
# Install the man pages. # Install the man pages.
install-man: installdirs $(srcdir)/gcc.1 $(GENERATED_MANPAGES) lang.install-man 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)/protoize$(manext)
-rm -rf $(man1dir)/unprotoize$(manext) -rm -rf $(man1dir)/unprotoize$(manext)
-rm -f $(infodir)/cpp.info* $(infodir)/gcc.info* -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 # These targets are for the dejagnu testsuites. The file site.exp
# contains global variables that all the testsuites will use. # contains global variables that all the testsuites will use.

View File

@ -23,15 +23,19 @@
@c Prologue @c Prologue
@c --------------------------------------------------------------------- @c ---------------------------------------------------------------------
@setfilename ir.info @setfilename c-tree.info
@settitle C/C++ Internal Representation @settitle C/C++ Internal Representation
@setchapternewpage on @setchapternewpage on
@ifinfo @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 This manual documents the internal representation used by GCC to represent
C and C++ source programs. C and C++ source programs.
Copyright (c) 1999, 2000 Free Software Foundation, Inc. Copyright (c) 1999, 2000, 2001 Free Software Foundation, Inc.
@end ifinfo @end ifinfo
@c --------------------------------------------------------------------- @c ---------------------------------------------------------------------
@ -43,7 +47,7 @@ Copyright (c) 1999, 2000 Free Software Foundation, Inc.
@author CodeSourcery, LLC <info@@codesourcery.com> @author CodeSourcery, LLC <info@@codesourcery.com>
@page @page
@vskip 0pt plus 1filll @vskip 0pt plus 1filll
Copyright @copyright{} 1999, 2000 Free Software Foundation, Inc. Copyright @copyright{} 1999, 2000, 2001 Free Software Foundation, Inc.
@end titlepage @end titlepage
@c --------------------------------------------------------------------- @c ---------------------------------------------------------------------

View File

@ -1,2 +1,3 @@
parse.h parse.h
parse.c parse.c
g++int.info*

View File

@ -1,3 +1,12 @@
2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
* 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 <nathan@codesourcery.com> 2001-01-12 Nathan Sidwell <nathan@codesourcery.com>
* typeck.c (build_c_cast): Do template processing earlier. * typeck.c (build_c_cast): Do template processing earlier.

View File

@ -1,5 +1,5 @@
# Top level -*- makefile -*- fragment for GNU C++. # 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. # Free Software Foundation, Inc.
#This file is part of GNU CC. #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++.start.encap: g++$(exeext)
c++.rest.encap: $(DEMANGLER_PROG) c++.rest.encap: $(DEMANGLER_PROG)
c++.info: c++.info: $(srcdir)/cp/g++int.info
c++.dvi: 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: # Install hooks:
# cc1plus is installed elsewhere as part of $(COMPILERS). # cc1plus is installed elsewhere as part of $(COMPILERS).
@ -175,7 +182,22 @@ c++.install-common:
fi ; \ fi ; \
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 c++.install-man: $(srcdir)/cp/g++.1
-if [ -f cc1plus$(exeext) ] ; then \ -if [ -f cc1plus$(exeext) ] ; then \
@ -199,6 +221,7 @@ c++.uninstall:
-rm -rf $(bindir)/$(DEMANGLER_CROSS_NAME)$(exeext) -rm -rf $(bindir)/$(DEMANGLER_CROSS_NAME)$(exeext)
-rm -rf $(man1dir)/$(GXX_INSTALL_NAME)$(manext) -rm -rf $(man1dir)/$(GXX_INSTALL_NAME)$(manext)
-rm -rf $(man1dir)/$(GXX_CROSS_NAME)$(manext) -rm -rf $(man1dir)/$(GXX_CROSS_NAME)$(manext)
-rm -rf $(infodir)/g++int.info*
# #
# Clean hooks: # Clean hooks:
# A lot of the ancillary files are deleted by the main makefile. # A lot of the ancillary files are deleted by the main makefile.
@ -213,6 +236,7 @@ c++.distclean:
c++.extraclean: c++.extraclean:
c++.maintainer-clean: c++.maintainer-clean:
-rm -f $(srcdir)/cp/parse.c $(srcdir)/cp/parse.h -rm -f $(srcdir)/cp/parse.c $(srcdir)/cp/parse.h
-rm -f $(srcdir)/cp/g++int.info*
# #
# Stage hooks: # Stage hooks:
# The main makefile has already created stage?/cp. # The main makefile has already created stage?/cp.

View File

@ -3,6 +3,12 @@
@setfilename g++int.info @setfilename g++int.info
@settitle G++ internals @settitle G++ internals
@setchapternewpage odd @setchapternewpage odd
@ifinfo
@dircategory Programming
@direntry
* G++ internals: (g++int). G++ Internals.
@end direntry
@end ifinfo
@c %**end of header @c %**end of header
@node Top, Limitations of g++, (dir), (dir) @node Top, Limitations of g++, (dir), (dir)
@ -10,7 +16,7 @@
This is meant to describe the C++ front-end for gcc in detail. This is meant to describe the C++ front-end for gcc in detail.
Questions and comments to Jason Merrill @email{jason@@redhat.com} and Questions and comments to Jason Merrill @email{jason@@redhat.com} and
Mark Mitchell @email{mark@codesourcery.com}. Mark Mitchell @email{mark@@codesourcery.com}.
@menu @menu
* Limitations of g++:: * Limitations of g++::

View File

@ -5,7 +5,7 @@
@ifinfo @ifinfo
@dircategory Programming @dircategory Programming
@direntry @direntry
* Cpplib: Cpplib internals. * Cpplib: (cppinternals). Cpplib internals.
@end direntry @end direntry
@end ifinfo @end ifinfo
@ -16,7 +16,7 @@
@ifinfo @ifinfo
This file documents the internals of the GNU C Preprocessor. 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 Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice 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 @titlepage
@c @finalout @c @finalout
@title Cpplib Internals @title Cpplib Internals
@subtitle Last revised Dec 2000 @subtitle Last revised Jan 2001
@subtitle for GCC version 3.0 @subtitle for GCC version 3.0
@author Neil Booth @author Neil Booth
@page @page
@vskip 0pt plus 1filll @vskip 0pt plus 1filll
@c man begin COPYRIGHT @c man begin COPYRIGHT
Copyright @copyright{} 2000 Copyright @copyright{} 2000, 2001
Free Software Foundation, Inc. Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of Permission is granted to make and distribute verbatim copies of