doc: Specify the CWD explicitly for gdb-cfg.texi

Maciej W. Rozycki macro@mips.com
Wed Jul 25 16:02:00 GMT 2007


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.



More information about the Gdb-patches mailing list