Mercurial > hg > xemacs-beta
comparison lisp/update-elc.el @ 1263:bada4b0bce3a
[xemacs-hg @ 2003-02-06 14:37:51 by stephent]
nits <87fzr1o4s3.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Thu, 06 Feb 2003 14:37:56 +0000 |
parents | 465bd3c7d932 |
children | 57b76886836d |
comparison
equal
deleted
inserted
replaced
1262:807c72f959fe | 1263:bada4b0bce3a |
---|---|
92 ;; .elc's. | 92 ;; .elc's. |
93 (defvar lisp-files-needed-for-byte-compilation | 93 (defvar lisp-files-needed-for-byte-compilation |
94 '("bytecomp" | 94 '("bytecomp" |
95 "byte-optimize")) | 95 "byte-optimize")) |
96 | 96 |
97 ;; "Lisp files, other than those in | 97 ;; Lisp files not in `lisp-files-needed-for-byte-compilation' that need |
98 ;; `lisp-files-needing-early-byte-compilation',packages that need early | 98 ;; early byte compilation. These are files loaded by update-elc.el in |
99 ;; byte compilation. These are files loaded by update-elc.el in order to | 99 ;; order to do the compilation of all the rest of the files. |
100 ;; do the compilation of all the rest of the files. | |
101 (defvar lisp-files-needing-early-byte-compilation | 100 (defvar lisp-files-needing-early-byte-compilation |
102 '(;"easy-mmode" | 101 '(;"easy-mmode" |
103 "autoload" | 102 "autoload" |
104 "shadow" | 103 "shadow" |
105 "cl-macs")) | 104 "cl-macs")) |
295 ;; for dump got recompiled, and hence the executable must be | 294 ;; for dump got recompiled, and hence the executable must be |
296 ;; redumped. We remove it if there were no files to compile. | 295 ;; redumped. We remove it if there were no files to compile. |
297 (condition-case nil | 296 (condition-case nil |
298 (delete-file "../src/BYTECOMPILE_CHANGE") | 297 (delete-file "../src/BYTECOMPILE_CHANGE") |
299 (file-error nil))) | 298 (file-error nil))) |
300 ;; (1) Nothing to do at all. BYTECOMPILE_CHANGE is used (only by | |
301 ;; the Unix makefile) to indicate whether some files needed | |
302 ;; for dump got recompiled, and hence the executable must be | |
303 ;; redumped. We remove it if there were no files to compile. | |
304 ((and (not update-elc-files-to-compile) | 299 ((and (not update-elc-files-to-compile) |
305 (not dumped-exe-out-of-date-wrt-dump-files) | 300 (not dumped-exe-out-of-date-wrt-dump-files) |
306 (not dumped-exe-out-of-date-wrt-undumped-exe)) | 301 (not dumped-exe-out-of-date-wrt-undumped-exe)) |
307 ;; (2) We have no files to byte-compile, but we do need to | 302 ;; (2) We have no files to byte-compile, but we do need to |
308 ;; regenerate and compile the auto-autoloads file. (This will | 303 ;; regenerate and compile the auto-autoloads file. (This will |