Mercurial > emacs
comparison lisp/Makefile.in @ 104651:89332ed854a3
(update-elcfiles): Report left over elc files.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 27 Aug 2009 18:35:20 +0000 |
parents | ea67ac46d172 |
children | bd45a173a25f |
comparison
equal
deleted
inserted
replaced
104650:bbf8f938f283 | 104651:89332ed854a3 |
---|---|
181 @test -f temp-elcfiles || echo "Maintainer warning: failed to update Makefile.in. You can ignore this if you are not an Emacs developer." | 181 @test -f temp-elcfiles || echo "Maintainer warning: failed to update Makefile.in. You can ignore this if you are not an Emacs developer." |
182 if test -f temp-elcfiles; then \ | 182 if test -f temp-elcfiles; then \ |
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 |
189 ## This can probably be done more elegantly, but needs to be portable. | 195 ## This can probably be done more elegantly, but needs to be portable. |
190 ELCFILES = \ | 196 ELCFILES = \ |