Commit a6f6840e authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(mh-loaddefs.el): Finish setting up the default empty

file *before* telling Emacs to add the autoloads, in case it fails.
parent 7ab56fea
...@@ -247,12 +247,6 @@ $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC) ...@@ -247,12 +247,6 @@ $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC)
echo ";;; Commentary:" >> $@ echo ";;; Commentary:" >> $@
echo ";;; Change Log:" >> $@ echo ";;; Change Log:" >> $@
echo ";;; Code:" >> $@ echo ";;; Code:" >> $@
$(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
echo " " >> $@ echo " " >> $@
echo "(provide 'mh-loaddefs)" >> $@ echo "(provide 'mh-loaddefs)" >> $@
echo ";; Local Variables:" >> $@ echo ";; Local Variables:" >> $@
...@@ -261,6 +255,12 @@ $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC) ...@@ -261,6 +255,12 @@ $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC)
echo ";; no-update-autoloads: t" >> $@ echo ";; no-update-autoloads: t" >> $@
echo ";; End:" >> $@ echo ";; End:" >> $@
echo ";;; mh-loaddefs.el ends here" >> $@ 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
# Prepare a bootstrap in the lisp subdirectory. # Prepare a bootstrap in the lisp subdirectory.
# #
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment