emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Makefile bug in generating mh-loaddefs.el?


From: Eli Zaretskii
Subject: Re: Makefile bug in generating mh-loaddefs.el?
Date: Tue, 03 Jul 2007 23:00:58 +0300

> From: Dan Nicolaescu <address@hidden>
> 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 <address@hidden>" >> $@
>       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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]