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: Makefile bug in generating mh-loaddefs.el? Date: Tue, 03 Jul 2007 23:00:58 +0300 Message-ID: References: <200707031842.l63IgTR8029247@oogie-boogie.ics.uci.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1183492875 2957 80.91.229.12 (3 Jul 2007 20:01:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2007 20:01:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 03 22:01:12 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 1I5oYh-00019i-5j for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2007 22:01:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5oYg-0000R7-Lp for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2007 16:01:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5oYc-0000R1-LB for emacs-devel@gnu.org; Tue, 03 Jul 2007 16:01:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5oYZ-0000Qp-Ve for emacs-devel@gnu.org; Tue, 03 Jul 2007 16:01:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5oYZ-0000Qm-PN for emacs-devel@gnu.org; Tue, 03 Jul 2007 16:01:03 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I5oYW-0001kl-9K for emacs-devel@gnu.org; Tue, 03 Jul 2007 16:01:00 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-242-254.inter.net.il [84.228.242.254]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id CZI29811 (AUTH halo1); Tue, 3 Jul 2007 23:00:57 +0300 (IDT) In-reply-to: <200707031842.l63IgTR8029247@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Tue, 03 Jul 2007 11:42:29 -0700) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:74252 Archived-At: > From: Dan Nicolaescu > Date: Tue, 03 Jul 2007 11:42:29 -0700 > > $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC) > echo ";;; mh-loaddefs.el --- automatically extracted autoloads" > $@ > echo "" >> $@ > echo ";; Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc." >> $@ > echo ";; Author: Bill Wohler " >> $@ > echo ";; Keywords: mail" >> $@ > echo ";;; Commentary:" >> $@ > echo ";;; Change Log:" >> $@ > echo ";;; Code:" >> $@ > echo " " >> $@ > echo "(provide 'mh-loaddefs)" >> $@ > echo ";; Local Variables:" >> $@ > echo ";; version-control: never" >> $@ > echo ";; no-byte-compile: t" >> $@ > echo ";; no-update-autoloads: t" >> $@ > echo ";; End:" >> $@ > echo ";;; mh-loaddefs.el ends here" >> $@ > $(EMACS) $(EMACSOPT) \ > -l autoload \ > --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ > --eval "(setq generated-autoload-file \"$(lisp)/mh-e/mh-loaddefs.el\")" \ > --eval "(setq make-backup-files nil)" \ > -f batch-update-autoloads $(lisp)/mh-e > > > Now, if the "$(EMACS) $(EMACSOPT) -l autoload ..." fails, the > mh-loaddefs.el file will not be deleted. That seems like a bug to me... Could you please explain what do you mean by ``will not be deleted'', and why you think it's a bug? The `echo' commands overwrite mh-loaddefs.el, don't they? which is akin to deleting the (old) file, right? Anyway, of Emacs fails, then Make will stop and announce the error; therefore I don't see why you (evidently) want an additional manifestation of the problem. What am I missing?