Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Maciej W. Rozycki" <macro@mips.com>
To: gdb-patches@sourceware.org
Cc: "Maciej W. Rozycki" <macro@linux-mips.org>
Subject: doc: Specify the CWD explicitly for gdb-cfg.texi
Date: Wed, 25 Jul 2007 16:02:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.61.0707251628280.27010@perivale.mips.com> (raw)

Hello,

 Contrary to documented behaviour `texi2html' does not search the current 
directory for include files.  I get:

*** Can't find gdb-cfg.texi, skipping at /usr/bin/texi2html line 3662, <FH001> line 11.

with version 1.66 and:

*** Can't find gdb-cfg.texi, skipping (l. 11)

with version 1.76.  That deserves a bug report against `texi2html', but 
the following trivial workaround makes `make html' work as expected with 
versions already in existence.

gdb/:
2007-07-25  Maciej W. Rozycki  <macro@mips.com>

	* Makefile.in (MAKEHTMLFLAGS): Also search the current directory
	for include files.

gdb/doc/:
2007-07-25  Maciej W. Rozycki  <macro@mips.com>

	* Makefile.in (MAKEHTMLFLAGS): Also search the current directory
	for include files.

 OK to apply?

  Maciej

gdb-cfg-texi.diff
Index: gdb/src/gdb/doc/Makefile.in
===================================================================
--- gdb.orig/src/gdb/doc/Makefile.in	2007-07-24 17:41:08.000000000 +0100
+++ gdb/src/gdb/doc/Makefile.in	2007-07-25 15:55:35.000000000 +0100
@@ -49,9 +49,11 @@
 # Note that texinfo 4.0's makeinfo --html can only generate a
 # single file, which would be too large, so continue to use
 # texi2html. -sts 2000-03-28
-
+# Contrary to documentation, the current directory is not
+# searched by texi2html, so specify it explicitly.
+# -macro 2007-07-25
 MAKEHTML = texi2html
-MAKEHTMLFLAGS = -menu -split_chapter
+MAKEHTMLFLAGS = -menu -split_chapter -I .
 
 # where to find texi2roff, ditto
 TEXI2ROFF=texi2roff
Index: gdb/src/gdb/Makefile.in
===================================================================
--- gdb.orig/src/gdb/Makefile.in	2007-07-24 17:41:09.000000000 +0100
+++ gdb/src/gdb/Makefile.in	2007-07-25 15:55:31.000000000 +0100
@@ -99,9 +99,11 @@
 # where to find makeinfo, preferably one designed for texinfo-2
 MAKEINFO=makeinfo
 
+# Contrary to documentation, the current directory is not
+# searched by texi2html, so specify it explicitly.
+# -macro 2007-07-25
 MAKEHTML = texi2html
-
-MAKEHTMLFLAGS = -menu -split_chapter
+MAKEHTMLFLAGS = -menu -split_chapter -I .
 
 # Set this up with gcc if you have gnu ld and the loader will print out
 # line numbers for undefined references.


             reply	other threads:[~2007-07-25 15:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-25 16:02 Maciej W. Rozycki [this message]
2007-07-25 18:12 ` Daniel Jacobowitz
2007-08-07 16:01 ` Joseph S. Myers
2007-08-09 18:37   ` Carlos O'Donell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.61.0707251628280.27010@perivale.mips.com \
    --to=macro@mips.com \
    --cc=gdb-patches@sourceware.org \
    --cc=macro@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox