diff options
| author | Glenn Morris | 2008-03-13 06:05:25 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-03-13 06:05:25 +0000 |
| commit | 2537fa5dc0c6f08ebfd2a10e93814ec858b5310b (patch) | |
| tree | 275326ee633b6b9c4fa52a71a4ed7747aa327b5d | |
| parent | 8ccd0d4dbc3fedb2bdabb37bd25d1dcd5e38b559 (diff) | |
| download | emacs-2537fa5dc0c6f08ebfd2a10e93814ec858b5310b.tar.gz emacs-2537fa5dc0c6f08ebfd2a10e93814ec858b5310b.zip | |
(LOADDEFS): New variable.
(AUTOGENEL): Use $LOADDEFS.
$(lisp)/loaddefs.el: Remove this target.
(autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
(MH_E_SRC): Remove variable.
$(lisp)/mh-e/mh-loaddefs.el: Remove $MH_E_SRC dependency. Simplify file
header. Use $@ for generated-autoload-file.
$(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el:
$(lisp)/calendar/hol-loaddefs.el: New targets.
| -rw-r--r-- | lisp/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/Makefile.in | 76 |
2 files changed, 47 insertions, 39 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e017a0dc99f..a225c824eec 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -5,6 +5,16 @@ | |||
| 5 | 5 | ||
| 6 | * startup.el (command-line-1): Rename -scriptload to -internal-script. | 6 | * startup.el (command-line-1): Rename -scriptload to -internal-script. |
| 7 | 7 | ||
| 8 | * Makefile.in ($(lisp)/loaddefs.el): Remove this target. | ||
| 9 | (MH_E_SRC): Remove variable. | ||
| 10 | ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency. Simplify | ||
| 11 | file header. Use $@ for generated-autoload-file. | ||
| 12 | |||
| 13 | * Makefile.in (LOADDEFS): New variable. | ||
| 14 | (AUTOGENEL): Use $LOADDEFS. | ||
| 15 | (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS. | ||
| 16 | ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el): | ||
| 17 | ($(lisp)/calendar/hol-loaddefs.el): New targets. | ||
| 8 | * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el: | 18 | * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el: |
| 9 | * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el: | 19 | * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el: |
| 10 | * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el: | 20 | * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el: |
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index df09a51c7cc..15579334322 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # Maintenance productions for the Lisp directory | 1 | # Maintenance productions for the Lisp directory |
| 2 | # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, | 2 | # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 3 | # 2006, 2007, 2008 Free Software Foundation, Inc. | 3 | # 2008 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | # This file is part of GNU Emacs. | 5 | # This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -46,8 +46,13 @@ lisptagsfiles1 = $(lisp)/[a-zA-Z]*.el | |||
| 46 | lisptagsfiles2 = $(lisp)/[a-zA-Z]*/[a-zA-Z]*.el | 46 | lisptagsfiles2 = $(lisp)/[a-zA-Z]*/[a-zA-Z]*.el |
| 47 | ETAGS = ../lib-src/etags | 47 | ETAGS = ../lib-src/etags |
| 48 | 48 | ||
| 49 | # Automatically generated autoload files, apart from lisp/loaddefs.el. | ||
| 50 | LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \ | ||
| 51 | $(lisp)/calendar/diary-loaddefs.el $(lisp)/calendar/hol-loaddefs.el | ||
| 52 | |||
| 49 | # Elisp files auto-generated. | 53 | # Elisp files auto-generated. |
| 50 | AUTOGENEL = loaddefs.el \ | 54 | AUTOGENEL = loaddefs.el \ |
| 55 | $(LOADDEFS) \ | ||
| 51 | cus-load.el \ | 56 | cus-load.el \ |
| 52 | finder-inf.el \ | 57 | finder-inf.el \ |
| 53 | subdirs.el \ | 58 | subdirs.el \ |
| @@ -107,17 +112,7 @@ finder-data: $(lisp)/subdirs.el autoloads doit | |||
| 107 | echo Directories: $$wins; \ | 112 | echo Directories: $$wins; \ |
| 108 | $(emacs) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins | 113 | $(emacs) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins |
| 109 | 114 | ||
| 110 | $(lisp)/loaddefs.el: | 115 | autoloads: $(lisp)/subdirs.el $(LOADDEFS) doit |
| 111 | echo ";;; loaddefs.el --- automatically extracted autoloads" >> $@ | ||
| 112 | echo ";;" >> $@; echo ";;; Code:" >> $@ | ||
| 113 | echo "" >> $@ | ||
| 114 | echo ";; Local Variables:" >> $@ | ||
| 115 | echo ";; version-control: never" >> $@ | ||
| 116 | echo ";; no-byte-compile: t" >> $@ | ||
| 117 | echo ";; no-update-autoloads: t" >> $@ | ||
| 118 | echo ";; End:" >> $@ | ||
| 119 | echo ";;; loaddefs.el ends here" >> $@ | ||
| 120 | autoloads: $(lisp)/subdirs.el $(lisp)/loaddefs.el doit | ||
| 121 | wd=$(lisp); $(setwins_almost); \ | 116 | wd=$(lisp); $(setwins_almost); \ |
| 122 | echo Directories: $$wins; \ | 117 | echo Directories: $$wins; \ |
| 123 | $(emacs) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins | 118 | $(emacs) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins |
| @@ -232,31 +227,14 @@ $(lisp)/progmodes/cc-mode.elc: \ | |||
| 232 | $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el | 227 | $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el |
| 233 | 228 | ||
| 234 | # Update MH-E internal autoloads. These are not to be confused with | 229 | # Update MH-E internal autoloads. These are not to be confused with |
| 235 | # the autoloads for the MH-E entry points, which are already in | 230 | # the autoloads for the MH-E entry points, which are already in loaddefs.el. |
| 236 | # loaddefs.el. | ||
| 237 | MH_E_SRC = $(lisp)/mh-e/mh-acros.el $(lisp)/mh-e/mh-alias.el \ | ||
| 238 | $(lisp)/mh-e/mh-buffers.el $(lisp)/mh-e/mh-compat.el \ | ||
| 239 | $(lisp)/mh-e/mh-comp.el $(lisp)/mh-e/mh-e.el \ | ||
| 240 | $(lisp)/mh-e/mh-folder.el $(lisp)/mh-e/mh-funcs.el \ | ||
| 241 | $(lisp)/mh-e/mh-gnus.el $(lisp)/mh-e/mh-identity.el \ | ||
| 242 | $(lisp)/mh-e/mh-inc.el $(lisp)/mh-e/mh-junk.el \ | ||
| 243 | $(lisp)/mh-e/mh-letter.el $(lisp)/mh-e/mh-limit.el \ | ||
| 244 | $(lisp)/mh-e/mh-mime.el $(lisp)/mh-e/mh-print.el \ | ||
| 245 | $(lisp)/mh-e/mh-scan.el $(lisp)/mh-e/mh-search.el \ | ||
| 246 | $(lisp)/mh-e/mh-seq.el $(lisp)/mh-e/mh-show.el \ | ||
| 247 | $(lisp)/mh-e/mh-speed.el $(lisp)/mh-e/mh-thread.el \ | ||
| 248 | $(lisp)/mh-e/mh-tool-bar.el $(lisp)/mh-e/mh-utils.el \ | ||
| 249 | $(lisp)/mh-e/mh-xface.el | ||
| 250 | |||
| 251 | mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el | 231 | mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el |
| 252 | $(lisp)/mh-e/mh-loaddefs.el: $(lisp)/subdirs.el $(MH_E_SRC) | 232 | $(lisp)/mh-e/mh-loaddefs.el: $(lisp)/subdirs.el |
| 233 | ## The only non-standard part of this is the provide. | ||
| 234 | ## All these echos can be removed if mh-e.el changes to use | ||
| 235 | ## (load "mh-loaddefs" nil 'quiet). | ||
| 253 | echo ";;; mh-loaddefs.el --- automatically extracted autoloads" > $@ | 236 | echo ";;; mh-loaddefs.el --- automatically extracted autoloads" > $@ |
| 254 | echo "" >> $@ | 237 | echo ";;" >> $@ |
| 255 | echo ";; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc." >> $@ | ||
| 256 | echo ";; Author: Bill Wohler <wohler@newt.com>" >> $@ | ||
| 257 | echo ";; Keywords: mail" >> $@ | ||
| 258 | echo ";;; Commentary:" >> $@ | ||
| 259 | echo ";;; Change Log:" >> $@ | ||
| 260 | echo ";;; Code:" >> $@ | 238 | echo ";;; Code:" >> $@ |
| 261 | echo "" >> $@ | 239 | echo "" >> $@ |
| 262 | echo "(provide 'mh-loaddefs)" >> $@ | 240 | echo "(provide 'mh-loaddefs)" >> $@ |
| @@ -266,13 +244,33 @@ $(lisp)/mh-e/mh-loaddefs.el: $(lisp)/subdirs.el $(MH_E_SRC) | |||
| 266 | echo ";; no-update-autoloads: t" >> $@ | 244 | echo ";; no-update-autoloads: t" >> $@ |
| 267 | echo ";; End:" >> $@ | 245 | echo ";; End:" >> $@ |
| 268 | echo ";;; mh-loaddefs.el ends here" >> $@ | 246 | echo ";;; mh-loaddefs.el ends here" >> $@ |
| 269 | $(emacs) \ | 247 | $(emacs) -l autoload \ |
| 270 | -l autoload \ | ||
| 271 | --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ | 248 | --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ |
| 272 | --eval "(setq generated-autoload-file \"$(lisp)/mh-e/mh-loaddefs.el\")" \ | 249 | --eval "(setq generated-autoload-file \"$@\")" \ |
| 273 | --eval "(setq make-backup-files nil)" \ | 250 | --eval "(setq make-backup-files nil)" \ |
| 274 | -f batch-update-autoloads $(lisp)/mh-e | 251 | -f batch-update-autoloads $(lisp)/mh-e |
| 275 | 252 | ||
| 253 | $(lisp)/calendar/cal-loaddefs.el: | ||
| 254 | $(emacs) -l autoload \ | ||
| 255 | --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ | ||
| 256 | --eval "(setq generated-autoload-file \"$@\")" \ | ||
| 257 | --eval "(setq make-backup-files nil)" \ | ||
| 258 | -f batch-update-autoloads $(lisp)/calendar | ||
| 259 | |||
| 260 | $(lisp)/calendar/diary-loaddefs.el: | ||
| 261 | $(emacs) -l autoload \ | ||
| 262 | --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \ | ||
| 263 | --eval "(setq generated-autoload-file \"$@\")" \ | ||
| 264 | --eval "(setq make-backup-files nil)" \ | ||
| 265 | -f batch-update-autoloads $(lisp)/calendar | ||
| 266 | |||
| 267 | $(lisp)/calendar/hol-loaddefs.el: | ||
| 268 | $(emacs) -l autoload \ | ||
| 269 | --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \ | ||
| 270 | --eval "(setq generated-autoload-file \"$@\")" \ | ||
| 271 | --eval "(setq make-backup-files nil)" \ | ||
| 272 | -f batch-update-autoloads $(lisp)/calendar | ||
| 273 | |||
| 276 | # Prepare a bootstrap in the lisp subdirectory. | 274 | # Prepare a bootstrap in the lisp subdirectory. |
| 277 | # | 275 | # |
| 278 | # Build loaddefs.el to make sure it's up-to-date. If it's not, that | 276 | # Build loaddefs.el to make sure it's up-to-date. If it's not, that |