Mercurial > emacs
comparison make-dist @ 105272:b51e687e8c81
(check): Update for two new levels of subdirectory in lisp/.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 29 Sep 2009 02:18:20 +0000 |
parents | 15f0b2d2eef8 |
children | a431286b73b3 |
comparison
equal
deleted
inserted
replaced
105271:5099e5036973 | 105272:b51e687e8c81 |
---|---|
195 ### Find where to run Emacs. | 195 ### Find where to run Emacs. |
196 if [ $check = yes ]; | 196 if [ $check = yes ]; |
197 then | 197 then |
198 ### Check for .elc files with no corresponding .el file. | 198 ### Check for .elc files with no corresponding .el file. |
199 ls -1 lisp/[a-zA-Z]*.el lisp/[a-z]*/[a-zA-Z0-9]*.el \ | 199 ls -1 lisp/[a-zA-Z]*.el lisp/[a-z]*/[a-zA-Z0-9]*.el \ |
200 lisp/[a-z]*/[a-z]*/[a-zA-Z0-9]*.el \ | |
201 lisp/[a-z]*/[a-z]*/[a-z]*/[a-zA-Z0-9]*.el \ | |
200 leim/[a-z]*/[a-z]*.el | sed 's/\.el$/.elc/' > /tmp/el | 202 leim/[a-z]*/[a-z]*.el | sed 's/\.el$/.elc/' > /tmp/el |
201 ls -1 lisp/[a-zA-Z]*.elc lisp/[a-z]*/[a-zA-Z0-9]*.elc \ | 203 ls -1 lisp/[a-zA-Z]*.elc lisp/[a-z]*/[a-zA-Z0-9]*.elc \ |
204 lisp/[a-z]*/[a-z]*/[a-zA-Z0-9]*.elc \ | |
205 lisp/[a-z]*/[a-z]*/[a-z]*/[a-zA-Z0-9]*.elc \ | |
202 leim/[a-z]*/[a-z]*.elc > /tmp/elc | 206 leim/[a-z]*/[a-z]*.elc > /tmp/elc |
203 bogosities="`comm -13 /tmp/el /tmp/elc`" | 207 bogosities="`comm -13 /tmp/el /tmp/elc`" |
204 if [ "${bogosities}" != "" ]; then | 208 if [ "${bogosities}" != "" ]; then |
205 echo "The following .elc files have no corresponding .el files:" | 209 echo "The following .elc files have no corresponding .el files:" |
206 echo "${bogosities}" | 210 echo "${bogosities}" |
207 fi | 211 fi |
208 rm -f /tmp/el /tmp/elc | 212 rm -f /tmp/el /tmp/elc |
209 | 213 |
210 ### Check for .el files with no corresponding .elc file. | 214 ### Check for .el files with no corresponding .elc file. |
211 ls -1 lisp/[a-zA-Z]*.el lisp/[a-z]*/[a-zA-Z0-9]*.el \ | 215 ls -1 lisp/[a-zA-Z]*.el lisp/[a-z]*/[a-zA-Z0-9]*.el \ |
216 lisp/[a-z]*/[a-z]*/[a-zA-Z0-9]*.el \ | |
217 lisp/[a-z]*/[a-z]*/[a-z]*/[a-zA-Z0-9]*.el \ | |
212 leim/[a-z]*/[a-z]*.el > /tmp/el | 218 leim/[a-z]*/[a-z]*.el > /tmp/el |
213 ls -1 lisp/[a-zA-Z]*.elc lisp/[a-z]*/[a-zA-Z0-9]*.elc \ | 219 ls -1 lisp/[a-zA-Z]*.elc lisp/[a-z]*/[a-zA-Z0-9]*.elc \ |
220 lisp/[a-z]*/[a-z]*/[a-zA-Z0-9]*.el \ | |
221 lisp/[a-z]*/[a-z]*/[a-z]*/[a-zA-Z0-9]*.el \ | |
214 leim/[a-z]*/[a-z]*.elc | sed 's/\.elc$/.el/' > /tmp/elc | 222 leim/[a-z]*/[a-z]*.elc | sed 's/\.elc$/.el/' > /tmp/elc |
215 losers="`comm -23 /tmp/el /tmp/elc`" | 223 losers="`comm -23 /tmp/el /tmp/elc`" |
216 bogosities= | 224 bogosities= |
217 for file in $losers; do | 225 for file in $losers; do |
218 if ! grep -q "no-byte-compile: t" $file; then | 226 if ! grep -q "no-byte-compile: t" $file; then |