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

View File

@ -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 <info@@codesourcery.com>
@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 ---------------------------------------------------------------------

View File

@ -1,2 +1,3 @@
parse.h
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>
* typeck.c (build_c_cast): Do template processing earlier.

View File

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

View File

@ -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++::

View File

@ -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