From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Makefile bug in generating mh-loaddefs.el? Date: Wed, 04 Jul 2007 08:19:32 -0600 Message-ID: References: <200707031842.l63IgTR8029247@oogie-boogie.ics.uci.edu> <200707032055.l63KtOIo003839@oogie-boogie.ics.uci.edu> <87y7hwg4l3.fsf@olgas.newt.com> <86y7hwpu2w.fsf@lola.quinscape.zz> Reply-To: tromey@redhat.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1183560075 32134 80.91.229.12 (4 Jul 2007 14:41:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Jul 2007 14:41:15 +0000 (UTC) Cc: Bill Wohler , emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 04 16:41:14 2007 connect(): Connection refused 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.50) id 1I662Z-0002hi-I6 for ged-emacs-devel@m.gmane.org; Wed, 04 Jul 2007 16:41:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I662Z-0006Uv-0M for ged-emacs-devel@m.gmane.org; Wed, 04 Jul 2007 10:41:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I661G-0005zo-Th for emacs-devel@gnu.org; Wed, 04 Jul 2007 10:39:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I661F-0005zS-QP for emacs-devel@gnu.org; Wed, 04 Jul 2007 10:39:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I661F-0005zL-JN for emacs-devel@gnu.org; Wed, 04 Jul 2007 10:39:49 -0400 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I661E-0002Za-K0; Wed, 04 Jul 2007 10:39:48 -0400 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l64Edmbd019840; Wed, 4 Jul 2007 10:39:48 -0400 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l64EdlGa020821; Wed, 4 Jul 2007 10:39:47 -0400 Original-Received: from opsy.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l64EdkK4024185; Wed, 4 Jul 2007 10:39:47 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 6CF17378C42; Wed, 4 Jul 2007 08:19:32 -0600 (MDT) X-Attribution: Tom In-Reply-To: (Tom Tromey's message of "Wed\, 04 Jul 2007 08\:16\:26 -0600") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:74295 Archived-At: >>>>> "Tom" == Tom Tromey writes: >>>>> "David" == David Kastrup writes: >>> Tom's approach--writing to a temporary file and moving it at the >>> end--seems to answer all issues. David> For people who like temporary files lying around. Tom> The temporary file will be overwritten the next time you run 'make'. Oops, I realized this isn't clear enough. The rule ends with 'mv'. So a temporary file only exists in the case that the build failed. In this case it is sometimes useful to see the contents of the file. If the rule uses a fixed temporary file name, then the temp file will not exist after a successful build due to the mv. Tom