From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Makefile bug in generating mh-loaddefs.el? Date: Tue, 03 Jul 2007 13:55:24 -0700 Message-ID: <200707032055.l63KtOIo003839@oogie-boogie.ics.uci.edu> References: <200707031842.l63IgTR8029247@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1183496294 14388 80.91.229.12 (3 Jul 2007 20:58:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2007 20:58:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 03 22:58:13 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 1I5pRr-0004Y1-C6 for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2007 22:58:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5pRq-0006ya-R2 for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2007 16:58:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5pRl-0006vz-JM for emacs-devel@gnu.org; Tue, 03 Jul 2007 16:58:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5pRi-0006tj-Q9 for emacs-devel@gnu.org; Tue, 03 Jul 2007 16:58:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5pRi-0006sj-7b for emacs-devel@gnu.org; Tue, 03 Jul 2007 16:58:02 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I5pRf-0003nR-8s; Tue, 03 Jul 2007 16:57:59 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l63KtOIo003839; Tue, 3 Jul 2007 13:55:26 -0700 (PDT) In-Reply-To: (Eli Zaretskii's message of "Tue\, 03 Jul 2007 23\:00\:58 +0300") Original-Lines: 53 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: Solaris 9 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:74256 Archived-At: Eli Zaretskii writes: > > 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? Do this rm src/emacs mh-e/mh-loaddefs.el cd lisp make mh-autoloads "make mh-autoloads" will fail, now run "make mh-autoloads" again and it will succeed...