From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Cleanup of byte-compiled files missing? Date: Fri, 17 Sep 2010 20:37:40 +0200 Message-ID: <831v8s1aiz.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1284748674 2785 80.91.229.12 (17 Sep 2010 18:37:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 18:37:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 17 20:37:51 2010 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 1Owfol-0005hZ-F6 for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 20:37:51 +0200 Original-Received: from localhost ([127.0.0.1]:34843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owfok-00076b-MT for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 14:37:50 -0400 Original-Received: from [140.186.70.92] (port=44996 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwfoZ-00073u-0x for emacs-devel@gnu.org; Fri, 17 Sep 2010 14:37:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwfoX-00016e-TW for emacs-devel@gnu.org; Fri, 17 Sep 2010 14:37:38 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:49911) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwfoX-00016P-Mv; Fri, 17 Sep 2010 14:37:37 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0L8W00M00MCCD600@a-mtaout21.012.net.il>; Fri, 17 Sep 2010 20:37:36 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.210.149]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L8W00MP9MEN9Y10@a-mtaout21.012.net.il>; Fri, 17 Sep 2010 20:37:36 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:130353 Archived-At: > From: Glenn Morris > Date: Fri, 17 Sep 2010 13:41:05 -0400 > > > > -rw-r--r-- 1 larsi larsi 937 Sep 14 22:22 rfc2045.elc12983Xpj > > kill-emacs-hook is apparently now run on SIGTERM, but not in > batch-mode, so I don't know what to do about this. Here's a thought: make the temporary file and moving it to the .elc file explicit in the Makefile, then you might be able to solve this using Make features, at least on platforms that use GNU Make. Make automatically deletes targets whose processing was interrupted, and you can use various special targets like .INTERMEDIATE and .DELETE_ON_ERROR to tune and control this.