diff options
| author | Bill Wohler | 2005-10-12 23:06:20 +0000 |
|---|---|---|
| committer | Bill Wohler | 2005-10-12 23:06:20 +0000 |
| commit | ba2b267309bc09e19eb86bda2032fbc6ca9ac2bb (patch) | |
| tree | 0af995f3a726973ce0dd549a953df8316085e03f | |
| parent | de22f49c43050fa184cd0426e25db61c0c9a8d6e (diff) | |
| download | emacs-ba2b267309bc09e19eb86bda2032fbc6ca9ac2bb.tar.gz emacs-ba2b267309bc09e19eb86bda2032fbc6ca9ac2bb.zip | |
(MH-E-SRC): New. Used by mh-autoloads.
(mh-autoloads): New. Builds mh-e/mh-loaddefs.el. Rebuilds if any files
in MH-E-SRC have been updated.
(updates, compile, recompile, bootstrap): Depend on mh-autoloads.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/makefile.w32-in | 46 |
2 files changed, 49 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 776db60e33a..3a2931dafb0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2005-10-12 Bill Wohler <wohler@newt.com> | ||
| 2 | |||
| 3 | * makefile.w32-in (MH-E-SRC): New. Used by mh-autoloads. | ||
| 4 | (mh-autoloads): New. Builds mh-e/mh-loaddefs.el. Rebuilds if any | ||
| 5 | files in MH-E-SRC have been updated. | ||
| 6 | (updates, compile, recompile, bootstrap): Depend on mh-autoloads. | ||
| 7 | |||
| 1 | 2005-10-12 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2005-10-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 9 | ||
| 3 | * progmodes/mixal-mode.el (mixal-operation-codes): Remove. | 10 | * progmodes/mixal-mode.el (mixal-operation-codes): Remove. |
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in index 6d3cacecc6a..17e1dd76019 100644 --- a/lisp/makefile.w32-in +++ b/lisp/makefile.w32-in | |||
| @@ -176,7 +176,7 @@ update-subdirs-SH: doit | |||
| 176 | $(srcdir)/update-subdirs $$file; \ | 176 | $(srcdir)/update-subdirs $$file; \ |
| 177 | done; | 177 | done; |
| 178 | 178 | ||
| 179 | updates: update-subdirs autoloads finder-data custom-deps | 179 | updates: update-subdirs autoloads mh-autoloads finder-data custom-deps |
| 180 | 180 | ||
| 181 | # Update the AUTHORS file. | 181 | # Update the AUTHORS file. |
| 182 | 182 | ||
| @@ -207,7 +207,7 @@ TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) | |||
| 207 | # compiled find the right files. | 207 | # compiled find the right files. |
| 208 | 208 | ||
| 209 | # Need separate version for sh and native cmd.exe | 209 | # Need separate version for sh and native cmd.exe |
| 210 | compile: subdirs.el compile-$(SHELLTYPE) doit | 210 | compile: subdirs.el mh-autoloads compile-$(SHELLTYPE) doit |
| 211 | 211 | ||
| 212 | compile-CMD: | 212 | compile-CMD: |
| 213 | # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g | 213 | # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g |
| @@ -282,9 +282,47 @@ compile-after-backup: backup-compiled-files compile-always | |||
| 282 | # Note that this doesn't create .elc files. It only recompiles if an | 282 | # Note that this doesn't create .elc files. It only recompiles if an |
| 283 | # .elc is present. | 283 | # .elc is present. |
| 284 | 284 | ||
| 285 | recompile: doit | 285 | recompile: mh-autoloads doit |
| 286 | $(emacs) -f batch-byte-recompile-directory $(lisp) | 286 | $(emacs) -f batch-byte-recompile-directory $(lisp) |
| 287 | 287 | ||
| 288 | # Update MH-E internal autoloads. These are not to be confused with | ||
| 289 | # the autoloads for the MH-E entry points, which are already in | ||
| 290 | # loaddefs.el. | ||
| 291 | MH-E-SRC = $(lisp)/mh-e/mh-acros.el $(lisp)/mh-e/mh-alias.el \ | ||
| 292 | $(lisp)/mh-e/mh-comp.el $(lisp)/mh-e/mh-customize.el \ | ||
| 293 | $(lisp)/mh-e/mh-e.el $(lisp)/mh-e/mh-funcs.el \ | ||
| 294 | $(lisp)/mh-e/mh-mime.el $(lisp)/mh-e/mh-pick.el \ | ||
| 295 | $(lisp)/mh-e/mh-print.el $(lisp)/mh-e/mh-inc.el \ | ||
| 296 | $(lisp)/mh-e/mh-init.el $(lisp)/mh-e/mh-index.el \ | ||
| 297 | $(lisp)/mh-e/mh-identity.el $(lisp)/mh-e/mh-junk.el \ | ||
| 298 | $(lisp)/mh-e/mh-seq.el $(lisp)/mh-e/mh-speed.el \ | ||
| 299 | $(lisp)/mh-e/mh-utils.el | ||
| 300 | |||
| 301 | mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el | ||
| 302 | $(lisp)/mh-e/mh-loaddefs.el: $(MH-E-SRC) | ||
| 303 | echo ";;; mh-loaddefs.el --- automatically extracted autoloads" > $@ | ||
| 304 | echo ";;" >> $@ | ||
| 305 | echo ";;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc." >> $@ | ||
| 306 | echo ";;; Author: Bill Wohler <wohler@newt.com>" >> $@ | ||
| 307 | echo ";;; Keywords: mail" >> $@ | ||
| 308 | echo ";;; Commentary:" >> $@ | ||
| 309 | echo ";;; Change Log:" >> $@ | ||
| 310 | echo ";;; Code:" >> $@ | ||
| 311 | $(EMACS) $(EMACSOPT) \ | ||
| 312 | -l autoload \ | ||
| 313 | --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ | ||
| 314 | --eval "(setq generated-autoload-file \"$(lisp)/mh-e/mh-loaddefs.el\")" \ | ||
| 315 | --eval "(setq make-backup-files nil)" \ | ||
| 316 | -f batch-update-autoloads $(lisp)/mh-e | ||
| 317 | echo "" >> $@ | ||
| 318 | echo "(provide 'mh-loaddefs)" >> $@ | ||
| 319 | echo ";;; Local Variables:" >> $@ | ||
| 320 | echo ";;; version-control: never" >> $@ | ||
| 321 | echo ";;; no-byte-compile: t" >> $@ | ||
| 322 | echo ";;; no-update-autoloads: t" >> $@ | ||
| 323 | echo ";;; End:" >> $@ | ||
| 324 | echo ";;; mh-loaddefs.el ends here" >> $@ | ||
| 325 | |||
| 288 | # Prepare a bootstrap in the lisp subdirectory. | 326 | # Prepare a bootstrap in the lisp subdirectory. |
| 289 | # | 327 | # |
| 290 | # Build loaddefs.el to make sure it's up-to-date. If it's not, that | 328 | # Build loaddefs.el to make sure it's up-to-date. If it's not, that |
| @@ -316,7 +354,7 @@ bootstrap-clean-SH: | |||
| 316 | # When done, remove bootstrap-emacs from ../bin, so that | 354 | # When done, remove bootstrap-emacs from ../bin, so that |
| 317 | # it will not be mistaken for an installed binary. | 355 | # it will not be mistaken for an installed binary. |
| 318 | 356 | ||
| 319 | bootstrap: update-subdirs autoloads compile finder-data custom-deps | 357 | bootstrap: update-subdirs autoloads mh-autoloads compile finder-data custom-deps |
| 320 | - $(DEL) $(EMACS) | 358 | - $(DEL) $(EMACS) |
| 321 | 359 | ||
| 322 | # | 360 | # |