From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.devel Subject: MAKEINFO variable not honoured Date: Sat, 01 Jan 2011 13:21:51 +0100 (CET) Message-ID: <20110101.132151.306582047.wl@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1293884530 14458 80.91.229.12 (1 Jan 2011 12:22:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 1 Jan 2011 12:22:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 01 13:22:04 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PZ0TE-0001Vn-9z for ged-emacs-devel@m.gmane.org; Sat, 01 Jan 2011 13:22:04 +0100 Original-Received: from localhost ([127.0.0.1]:42396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ0TD-0006gR-Gw for ged-emacs-devel@m.gmane.org; Sat, 01 Jan 2011 07:22:03 -0500 Original-Received: from [140.186.70.92] (port=52586 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ0T7-0006gC-VC for emacs-devel@gnu.org; Sat, 01 Jan 2011 07:21:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZ0T6-0006V2-Kl for emacs-devel@gnu.org; Sat, 01 Jan 2011 07:21:57 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:57080 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PZ0T6-0006Ux-6i for emacs-devel@gnu.org; Sat, 01 Jan 2011 07:21:56 -0500 Original-Received: (qmail invoked by alias); 01 Jan 2011 12:21:53 -0000 Original-Received: from 178-191-184-200.adsl.highway.telekom.at (EHLO localhost) [178.191.184.200] by mail.gmx.net (mp041) with SMTP; 01 Jan 2011 13:21:53 +0100 X-Authenticated: #54312696 X-Provags-ID: V01U2FsdGVkX183TqBOdHQ3Yn27PKeRJfRZVs+0pq/ngHkmpx3eqL m+GGHci0irLOiP X-Mailer: Mew version 6.3.50 on Emacs 24.0.50.1 / Mule 6.0 (HANACHIRUSATO) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134108 Archived-At: [revno 102734] For testing purposes, I have installed the current development version of makeinfo in /usr/local/bin. Since this isn't ready yet for production purposes (it's unbearably slow), I configured emacs with MAKEINFO=/usr/bin/makeinfo ./configure However, during `make bootstrap', this variable isn't honoured since the sub-Makefiles in the `doc' subdirectory contain lines like this MAKEINFO = makeinfo --force -I $(srcdir) which directly overwrite the MAKEINFO variable. Below a trivial patch which fixes this. Werner ====================================================================== --- ./doc/lispref/Makefile.in.old 2011-01-01 12:51:56.000000000 +0100 +++ ./doc/lispref/Makefile.in 2011-01-01 13:18:04.000000000 +0100 @@ -32,7 +32,7 @@ # Directory with emacsver.texi. emacsdir = $(srcdir)/../emacs -MAKEINFO = makeinfo --force -I $(emacsdir) -I $(srcdir) +MAKEINFO = @MAKEINFO@ --force -I $(emacsdir) -I $(srcdir) TEXI2DVI = texi2dvi TEXI2PDF = texi2pdf DVIPS = dvips --- ./doc/lispintro/Makefile.in.old 2011-01-01 12:51:51.000000000 +0100 +++ ./doc/lispintro/Makefile.in 2011-01-01 13:17:47.000000000 +0100 @@ -28,7 +28,7 @@ # Directory with the (customized) texinfo.tex file. texinfodir = $(srcdir)/../misc -MAKEINFO = makeinfo --force -I $(srcdir) +MAKEINFO = @MAKEINFO@ --force -I $(srcdir) TEXI2DVI = texi2dvi TEXI2PDF = texi2pdf DVIPS = dvips --- ./doc/emacs/Makefile.in.old 2011-01-01 12:51:51.000000000 +0100 +++ ./doc/emacs/Makefile.in 2011-01-01 13:17:15.000000000 +0100 @@ -39,7 +39,7 @@ # The makeinfo program is part of the Texinfo distribution. # Use --force so that it generates output even if there are errors. -MAKEINFO = makeinfo --force -I $(srcdir) +MAKEINFO = @MAKEINFO@ --force -I $(srcdir) TEXI2DVI = texi2dvi TEXI2PDF = texi2pdf --- ./doc/misc/Makefile.in.old 2011-01-01 12:51:56.000000000 +0100 +++ ./doc/misc/Makefile.in 2011-01-01 13:18:23.000000000 +0100 @@ -42,7 +42,7 @@ # The makeinfo program is part of the Texinfo distribution. # Use --force so that it generates output even if there are errors. -MAKEINFO = makeinfo --force -I$(emacsdir) +MAKEINFO = @MAKEINFO@ --force -I$(emacsdir) # Also add new entries to INFO_FILES in the top-level Makefile.in. INFO_TARGETS = \