[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Makefile bug in generating mh-loaddefs.el?
From: |
Dan Nicolaescu |
Subject: |
Re: Makefile bug in generating mh-loaddefs.el? |
Date: |
Tue, 03 Jul 2007 13:55:24 -0700 |
Eli Zaretskii <address@hidden> writes:
> > 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?
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...
- Makefile bug in generating mh-loaddefs.el?, Dan Nicolaescu, 2007/07/03
- Re: Makefile bug in generating mh-loaddefs.el?, Eli Zaretskii, 2007/07/03
- Re: Makefile bug in generating mh-loaddefs.el?, David Kastrup, 2007/07/03
- Re: Makefile bug in generating mh-loaddefs.el?,
Dan Nicolaescu <=
- Re: Makefile bug in generating mh-loaddefs.el?, Eli Zaretskii, 2007/07/03
- Re: Makefile bug in generating mh-loaddefs.el?, Bill Wohler, 2007/07/04
- Re: Makefile bug in generating mh-loaddefs.el?, David Kastrup, 2007/07/04
- Re: Makefile bug in generating mh-loaddefs.el?, Stephen J. Turnbull, 2007/07/04
- Re: Makefile bug in generating mh-loaddefs.el?, Tom Tromey, 2007/07/04
- Re: Makefile bug in generating mh-loaddefs.el?, Tom Tromey, 2007/07/04
- Re: Makefile bug in generating mh-loaddefs.el?, Eli Zaretskii, 2007/07/04
- Re: Makefile bug in generating mh-loaddefs.el?, David Robinow, 2007/07/04
- Re: Makefile bug in generating mh-loaddefs.el?, Eli Zaretskii, 2007/07/04