]> git.eshelyaron.com Git - emacs.git/commitdiff
(update-elcfiles): Report left over elc files.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Aug 2009 18:35:20 +0000 (18:35 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Aug 2009 18:35:20 +0000 (18:35 +0000)
lisp/ChangeLog
lisp/Makefile.in

index 011a3ca23e44ccd42d4a042a6fd00ba85ea38039..9335d35ae8e7123b5240d3ee6251bfb7fe6bf1b3 100644 (file)
@@ -1,5 +1,7 @@
 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * 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.
index d83b2660bff2bd36a32ef77593290e4d99059cac..b167c7f8d8bc35fab1ad947410ddfbb78a551ab6 100644 (file)
@@ -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