diff options
| author | Stefan Monnier | 2009-08-27 18:35:20 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-08-27 18:35:20 +0000 |
| commit | 3a68ab06536db3e66c77cc7d0b80f01e4db46aa0 (patch) | |
| tree | 776a5090b01d47032e554aaffde89973cbfb3785 | |
| parent | 877610de125eae6c2e455db0f639e8ba6b0befdf (diff) | |
| download | emacs-3a68ab06536db3e66c77cc7d0b80f01e4db46aa0.tar.gz emacs-3a68ab06536db3e66c77cc7d0b80f01e4db46aa0.zip | |
(update-elcfiles): Report left over elc files.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/Makefile.in | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 011a3ca23e4..9335d35ae8e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * Makefile.in (update-elcfiles): Report left over elc files. | ||
| 4 | |||
| 3 | * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer, | 5 | * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer, |
| 4 | expand-file-name and with-current-buffer. | 6 | expand-file-name and with-current-buffer. |
| 5 | (mail-get-names, mail-directory): Use with-current-buffer. | 7 | (mail-get-names, mail-directory): Use with-current-buffer. |
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index d83b2660bff..b167c7f8d8b 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -183,6 +183,12 @@ update-elclist: | |||
| 183 | chmod +w $(lisp)/Makefile.in; \ | 183 | chmod +w $(lisp)/Makefile.in; \ |
| 184 | mv -f temp-elcfiles $(lisp)/Makefile.in; \ | 184 | mv -f temp-elcfiles $(lisp)/Makefile.in; \ |
| 185 | fi | 185 | fi |
| 186 | -(COLLATE=C ls $(lisp)/*.elc $(lisp)/*/*.elc | sed 's/elc$$/el/'; \ | ||
| 187 | COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el; \ | ||
| 188 | COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el) | \ | ||
| 189 | sort | uniq -u | while read extra; do \ | ||
| 190 | echo "Found left over byte-compiled file: $${extra}c !!" ;\ | ||
| 191 | done | ||
| 186 | 192 | ||
| 187 | ## Explicitly list the .elc files, for the sake of parallel builds. | 193 | ## Explicitly list the .elc files, for the sake of parallel builds. |
| 188 | ## http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-05/msg00016.html | 194 | ## http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-05/msg00016.html |