diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/doc/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/doc/Makefile.in | 36 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 12 | ||||
-rw-r--r-- | gdb/doc/gdbint.texinfo | 13 | ||||
-rw-r--r-- | gdb/doc/stabs.texinfo | 11 |
5 files changed, 77 insertions, 4 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index bf4c79f286..8d95eba1ea 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -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 diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in index ad3787ebe2..025c20ed68 100644 --- a/gdb/doc/Makefile.in +++ b/gdb/doc/Makefile.in @@ -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 diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index b8630cc2e1..914e0ab3cb 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -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 diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 439eaeaec7..532d22351b 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -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 diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo index 8239ce7004..a4ea1dc9c7 100644 --- a/gdb/doc/stabs.texinfo +++ b/gdb/doc/stabs.texinfo @@ -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 |