From 3a68ab06536db3e66c77cc7d0b80f01e4db46aa0 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 27 Aug 2009 18:35:20 +0000 Subject: [PATCH] (update-elcfiles): Report left over elc files. --- lisp/ChangeLog | 2 ++ lisp/Makefile.in | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 011a3ca23e4..9335d35ae8e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2009-08-27 Stefan Monnier + * Makefile.in (update-elcfiles): Report left over elc files. + * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer, expand-file-name and with-current-buffer. (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: chmod +w $(lisp)/Makefile.in; \ mv -f temp-elcfiles $(lisp)/Makefile.in; \ fi + -(COLLATE=C ls $(lisp)/*.elc $(lisp)/*/*.elc | sed 's/elc$$/el/'; \ + COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el; \ + COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el) | \ + sort | uniq -u | while read extra; do \ + echo "Found left over byte-compiled file: $${extra}c !!" ;\ + done ## Explicitly list the .elc files, for the sake of parallel builds. ## http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-05/msg00016.html -- 2.39.5