From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 528 invoked by alias); 21 Jan 2002 22:51:02 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 496 invoked from network); 21 Jan 2002 22:51:01 -0000 Received: from unknown (HELO localhost.cygnus.com) (24.114.42.213) by sources.redhat.com with SMTP; 21 Jan 2002 22:51:01 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 1778E3F0E; Mon, 21 Jan 2002 17:50:58 -0500 (EST) Message-ID: <3C4C9B52.5040306@cygnus.com> Date: Mon, 21 Jan 2002 14:51:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: Eli Zaretskii Cc: Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: [rfa/doc] tex -> texindex -> tex -> texindex -> tex References: <3C4C64F8.10607@cygnus.com> Content-Type: multipart/mixed; boundary="------------050801060704030407020104" X-SW-Source: 2002-01/txt/msg00670.txt.bz2 This is a multi-part message in MIME format. --------------050801060704030407020104 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 135 > BTW, how do I get texi2dvi to run pdftex. Found it, burried in the output from ``texi2dvi --help''. How is the attached? Andrew --------------050801060704030407020104 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 3904 2002-01-21 Andrew Cagney * Makefile.in: Update copyright. (TEXI2DVI): Define. (gdb.dvi, gdb.pdf, stabs.dvi, stabs.pdf): Use TEXI2DVI. (gdbint.dvi, gdbint.pdf): Use TEXI2DVI. Add dependency on gdb-cfg.texi. (TEXINDEX, PDFTEX): Delete makefile variables. Index: Makefile.in =================================================================== RCS file: /cvs/src/src/gdb/doc/Makefile.in,v retrieving revision 1.17 diff -u -r1.17 Makefile.in --- Makefile.in 2002/01/17 08:54:12 1.17 +++ Makefile.in 2002/01/21 22:49:24 @@ -1,4 +1,4 @@ -##Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000 +##Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000, 2002 ##Free Software Foundation, Inc. # Makefile for GDB documentation. @@ -53,6 +53,9 @@ # where to find texi2roff, ditto TEXI2ROFF=texi2roff +# where to find texi2dvi, ditto +TEXI2DVI=texi2dvi + # Where is the source dir for the READLINE library doc? # Traditionally readline is in .. or . READLINE_DIR = ${gdbdir}/../readline/doc @@ -90,15 +93,9 @@ # Don Knuth's TeX formatter TEX = tex -# auxiliary program for sorting Texinfo indices -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 $(srcdir)/fdl.texi @@ -246,10 +243,7 @@ (test "$$LN_S" = "ln -s" && ln -s $(srcdir)/GDBvn.texi .) || \ ln $(srcdir)/GDBvn.texi . || \ cp $(srcdir)/GDBvn.texi . ; else true; fi - $(SET_TEXINPUTS) $(TEX) gdb.texinfo - $(SET_TEXINPUTS) $(TEX) gdb.texinfo - $(TEXINDEX) gdb.?? - $(SET_TEXINPUTS) $(TEX) gdb.texinfo + $(SET_TEXINPUTS) $(TEXI2DVI) $(srcdir)/gdb.texinfo rm -f gdb.aux gdb.cp* gdb.fn* gdb.ky* gdb.log gdb.pg* gdb.toc \ gdb.tp* gdb.vr* @@ -261,10 +255,7 @@ (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 + $(SET_TEXINPUTS) $(TEXI2DVI) --pdf $(srcdir)/gdb.texinfo rm -f gdb.aux gdb.cp* gdb.fn* gdb.ky* gdb.log gdb.pg* gdb.toc \ gdb.tp* gdb.vr* @@ -371,20 +362,16 @@ $(MAKEHTML) $(MAKEHTMLFLAGS) -I ${READLINE_DIR} -I ${GDBMI_DIR} -I $(srcdir) $(srcdir)/gdb.texinfo # GDB INTERNALS MANUAL: TeX dvi file -gdbint.dvi : gdbint.texinfo - $(SET_TEXINPUTS) $(TEX) gdbint.texinfo - $(TEXINDEX) gdbint.?? - $(SET_TEXINPUTS) $(TEX) gdbint.texinfo +gdbint.dvi: gdbint.texinfo gdb-cfg.texi + $(SET_TEXINPUTS) $(TEXI2DVI) $(srcdir)/gdbint.texinfo rm -f gdbint.aux gdbint.cp* gdbint.fn* gdbint.ky* \ gdbint.log gdbint.pg* gdbint.toc gdbint.tp* gdbint.vr* gdbint.ps : gdbint.dvi $(DVIPS) -o $@ $? -gdbint.pdf: gdbint.dvi - $(SET_TEXINPUTS) $(PDFTEX) gdbint.texinfo - $(TEXINDEX) gdbint.?? - $(SET_TEXINPUTS) $(PDFTEX) gdbint.texinfo +gdbint.pdf: gdbint.dvi gdb-cfg.texi + $(SET_TEXINPUTS) $(TEXI2DVI) --pdf $(srcdir)/gdbint.texinfo rm -f gdbint.aux gdbint.cp* gdbint.fn* gdbint.ky* \ gdbint.log gdbint.pg* gdbint.toc gdbint.tp* gdbint.vr* @@ -408,9 +395,7 @@ # STABS DOCUMENTATION: TeX dvi file stabs.dvi : stabs.texinfo - $(SET_TEXINPUTS) $(TEX) stabs.texinfo - $(TEXINDEX) stabs.?? - $(SET_TEXINPUTS) $(TEX) stabs.texinfo + $(SET_TEXINPUTS) $(TEXI2DVI) $(srcdir)/stabs.texinfo rm -f stabs.aux stabs.cp* stabs.fn* stabs.ky* \ stabs.log stabs.pg* stabs.toc stabs.tp* stabs.vr* @@ -418,9 +403,7 @@ $(DVIPS) -o $@ $? stabs.pdf: stabs.dvi - $(SET_TEXINPUTS) $(PDFTEX) stabs.texinfo - $(TEXINDEX) stabs.?? - $(SET_TEXINPUTS) $(PDFTEX) stabs.texinfo + $(SET_TEXINPUTS) $(TEXI2DVI) --pdf $(srcdir)/stabs.texinfo rm -f stabs.aux stabs.cp* stabs.fn* stabs.ky* \ stabs.log stabs.pg* stabs.toc stabs.tp* stabs.vr* --------------050801060704030407020104--