Import texinfo.tex from texinfo-4.0.

Add support for ``make pdf'' to the gdb/doc directory using pdftex.
This commit is contained in:
Andrew Cagney 2000-05-31 10:18:58 +00:00
parent 70d72e0eec
commit 449f3b6ca7
7 changed files with 1370 additions and 732 deletions

View File

@ -1,3 +1,7 @@
Mon May 29 13:50:03 2000 Andrew Cagney <cagney@b1.cygnus.com>
* texinfo/texinfo.tex: Update. Version from makeinfo 4.0.
Tue May 30 19:01:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
* config.sub: Import CVS version 1.167 Tue May 30 09:00:07 2000.

View File

@ -1,3 +1,12 @@
Fri May 26 15:55:33 2000 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (pdf, gdbint.pdf, gdb.pdf, stabs.pdf): New targets.
Generate using pdftex.
(PDFTEX): Define.
(STAGESTUFF, maintainer-clean realclean): Add *.pdf.
(gdb.texinfo, gdbint.texinfo, stabs.texinfo): When TeX insert the
@contents at the start.
2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
* gdb.texinfo: Remove duplicate @syncodeindex. From Brian

View File

@ -92,6 +92,9 @@ TEXINDEX = texindex
# Program to generate Postscript files from DVI files.
DVIPS = dvips
# Program to generate PDF files from tex files.
PDFTEX = pdftex
# Main GDB manual's source files
SFILES_INCLUDED = gdb-cfg.texi $(srcdir)/annotate.texi
@ -109,7 +112,8 @@ info: gdb.info gdbint.info stabs.info
dvi: gdb.dvi gdbint.dvi stabs.dvi refcard.dvi
ps: gdb.ps gdbint.ps stabs.ps refcard.ps
html: gdb_toc.html gdbint_toc.html stabs_toc.html
all-doc: info dvi ps
pdf: gdb.pdf gdbint.pdf stabs.pdf
all-doc: info dvi ps # pdf
diststuff: info
install-info: info
@ -130,7 +134,7 @@ install-html: html
$(INSTALL_DATA) $$i $(htmldir)/$$i ; \
done
STAGESTUFF = *.info* gdb-all.texi GDBvn.texi *.ps *.dvi
STAGESTUFF = *.info* gdb-all.texi GDBvn.texi *.ps *.dvi *.pdf
# Copy the object files from a particular stage into a subdirectory.
stage1: force
@ -181,7 +185,7 @@ distclean: clean
# "clean" or "distclean". Use maintainer-clean to remove them.
maintainer-clean realclean: distclean
rm -f GDBvn.texi *.info* *.dvi *.ps *.html
rm -f GDBvn.texi *.info* *.dvi *.ps *.html *.pdf
# GDB QUICK REFERENCE (dvi output)
refcard.dvi : refcard.tex $(REFEDITS)
@ -243,6 +247,18 @@ gdb.dvi: ${SFILES_DOC}
gdb.ps: gdb.dvi
$(DVIPS) -o $@ $?
gdb.pdf: ${SFILES_DOC}
if [ ! -f ./GDBvn.texi ]; then \
(test "$$LN_S" = "ln -s" && ln -s $(srcdir)/GDBvn.texi .) || \
ln $(srcdir)/GDBvn.texi . || \
cp $(srcdir)/GDBvn.texi . ; else true; fi
$(SET_TEXINPUTS) $(PDFTEX) gdb.texinfo
$(SET_TEXINPUTS) $(PDFTEX) gdb.texinfo
$(TEXINDEX) gdb.??
$(SET_TEXINPUTS) $(PDFTEX) gdb.texinfo
rm -f gdb.aux gdb.cp* gdb.fn* gdb.ky* gdb.log gdb.pg* gdb.toc \
gdb.tp* gdb.vr*
# GDB MANUAL: info file
# We're using texinfo 3.12; older makeinfo's may not be able to
# cope with all the markup.
@ -370,6 +386,13 @@ gdbint.dvi : gdbint.texinfo
gdbint.ps : gdbint.dvi
$(DVIPS) -o $@ $?
gdbint.pdf: gdbint.dvi
$(SET_TEXINPUTS) $(PDFTEX) gdbint.texinfo
$(TEXINDEX) gdbint.??
$(SET_TEXINPUTS) $(PDFTEX) gdbint.texinfo
rm -f gdbint.aux gdbint.cp* gdbint.fn* gdbint.ky* \
gdbint.log gdbint.pg* gdbint.toc gdbint.tp* gdbint.vr*
# GDB INTERNALS MANUAL: info file
gdbint.info: gdbint.texinfo
@ -399,6 +422,13 @@ stabs.dvi : stabs.texinfo
stabs.ps: stabs.dvi
$(DVIPS) -o $@ $?
stabs.pdf: stabs.dvi
$(SET_TEXINPUTS) $(PDFTEX) stabs.texinfo
$(TEXINDEX) stabs.??
$(SET_TEXINPUTS) $(PDFTEX) stabs.texinfo
rm -f stabs.aux stabs.cp* stabs.fn* stabs.ky* \
stabs.log stabs.pg* stabs.toc stabs.tp* stabs.vr*
force:
Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag) config.status

View File

@ -206,6 +206,11 @@ Copyright (C) 1988-2000 Free Software Foundation, Inc.
@end ifhtml
@c TeX can handle the contents at the start but makeinfo 3.12 can not
@iftex
@contents
@end iftex
@node Summary
@unnumbered Summary of @value{GDBN}
@ -12874,5 +12879,12 @@ needed for special purposes only.
% Blame: doc@cygnus.com, 1991.
@end tex
@c TeX can handle the contents at the start but makeinfo 3.12 can not
@ifinfo
@contents
@end ifinfo
@ifhtml
@contents
@end ifhtml
@bye

View File

@ -63,6 +63,11 @@ are preserved on all copies.
@end titlepage
@c TeX can handle the contents at the start but makeinfo 3.12 can not
@iftex
@contents
@end iftex
@node Top
@c Perhaps this should be the title of the document (but only for info,
@c not for TeX). Existing GNU manuals seem inconsistent on this point.
@ -3383,6 +3388,12 @@ exec.c
@end table
@c TeX can handle the contents at the start but makeinfo 3.12 can not
@ifinfo
@contents
@end ifinfo
@ifhtml
@contents
@end ifhtml
@bye

View File

@ -86,6 +86,10 @@ This document describes the stabs debugging format.
@end menu
@end ifinfo
@c TeX can handle the contents at the start but makeinfo 3.12 can not
@iftex
@contents
@end iftex
@node Overview
@chapter Overview of Stabs
@ -4015,5 +4019,12 @@ However, no one has yet designed or implemented such a scheme.
@printindex fn
@c TeX can handle the contents at the start but makeinfo 3.12 can not
@ifinfo
@contents
@end ifinfo
@ifhtml
@contents
@end ifhtml
@bye

File diff suppressed because it is too large Load Diff