From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12331 invoked by alias); 25 Jul 2007 15:38:13 -0000 Received: (qmail 12321 invoked by uid 22791); 25 Jul 2007 15:38:13 -0000 X-Spam-Check-By: sourceware.org Received: from dmz.mips-uk.com (HELO dmz.mips-uk.com) (194.74.144.194) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 25 Jul 2007 15:38:10 +0000 Received: from internal-mx1 ([192.168.192.240] helo=ukservices1.mips.com) by dmz.mips-uk.com with esmtp (Exim 3.35 #1 (Debian)) id 1IDiwC-0001hf-00; Wed, 25 Jul 2007 16:38:08 +0100 Received: from perivale.mips.com ([192.168.192.200]) by ukservices1.mips.com with esmtp (Exim 3.36 #1 (Debian)) id 1IDiw5-0001tb-00; Wed, 25 Jul 2007 16:38:01 +0100 Received: from macro (helo=localhost) by perivale.mips.com with local-esmtp (Exim 4.63) (envelope-from ) id 1IDiw5-00029A-PO; Wed, 25 Jul 2007 16:38:01 +0100 Date: Wed, 25 Jul 2007 16:02:00 -0000 From: "Maciej W. Rozycki" To: gdb-patches@sourceware.org cc: "Maciej W. Rozycki" Subject: doc: Specify the CWD explicitly for gdb-cfg.texi Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MIPS-Technologies-UK-MailScanner: Found to be clean X-MIPS-Technologies-UK-MailScanner-From: macro@mips.com Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00272.txt.bz2 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, 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 * Makefile.in (MAKEHTMLFLAGS): Also search the current directory for include files. gdb/doc/: 2007-07-25 Maciej W. Rozycki * 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.