Mercurial > emacs
comparison make-dist @ 61546:ffa21905c7e9
Distribute all ChangeLog files in lisp/.
Don't distribute ldefs-boot.el.
lisp/makefile.nt no longer exists.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Thu, 14 Apr 2005 08:40:39 +0000 |
parents | f1e5f5261b95 |
children | 3e36b3c98f8e e1fbb019c538 |
comparison
equal
deleted
inserted
replaced
61545:be83d1c4960a | 61546:ffa21905c7e9 |
---|---|
182 | 182 |
183 ### Find where to run Emacs. | 183 ### Find where to run Emacs. |
184 if [ $check = yes ]; | 184 if [ $check = yes ]; |
185 then | 185 then |
186 ### Check for .elc files with no corresponding .el file. | 186 ### Check for .elc files with no corresponding .el file. |
187 ls -1 lisp/[a-z]*.el lisp/[a-z]*/[a-z]*.el \ | 187 ls -1 lisp/[a-zA-Z]*.el lisp/[a-z]*/[a-zA-Z0-9]*.el \ |
188 leim/[a-z]*/[a-z]*.el | sed 's/\.el$/.elc/' > /tmp/el | 188 leim/[a-z]*/[a-z]*.el | sed 's/\.el$/.elc/' > /tmp/el |
189 ls -1 lisp/[a-z]*.elc lisp/[a-z]*/[a-z]*.elc \ | 189 ls -1 lisp/[a-zA-Z]*.elc lisp/[a-z]*/[a-zA-Z0-9]*.elc \ |
190 leim/[a-z]*/[a-z]*.elc > /tmp/elc | 190 leim/[a-z]*/[a-z]*.elc > /tmp/elc |
191 bogosities="`comm -13 /tmp/el /tmp/elc`" | 191 bogosities="`comm -13 /tmp/el /tmp/elc`" |
192 if [ "${bogosities}" != "" ]; then | 192 if [ "${bogosities}" != "" ]; then |
193 echo "The following .elc files have no corresponding .el files:" | 193 echo "The following .elc files have no corresponding .el files:" |
194 echo "${bogosities}" | 194 echo "${bogosities}" |
195 fi | 195 fi |
196 rm -f /tmp/el /tmp/elc | 196 rm -f /tmp/el /tmp/elc |
197 | 197 |
198 ### Check for .el files with no corresponding .elc file. | 198 ### Check for .el files with no corresponding .elc file. |
199 ls -1 lisp/[a-z]*.el lisp/[a-z]*/[a-z]*.el \ | 199 ls -1 lisp/[a-zA-Z]*.el lisp/[a-z]*/[a-zA-Z0-9]*.el \ |
200 leim/[a-z]*/[a-z]*.el > /tmp/el | 200 leim/[a-z]*/[a-z]*.el > /tmp/el |
201 ls -1 lisp/[a-z]*.elc lisp/[a-z]*/[a-z]*.elc \ | 201 ls -1 lisp/[a-zA-Z]*.elc lisp/[a-z]*/[a-zA-Z0-9]*.elc \ |
202 leim/[a-z]*/[a-z]*.elc | sed 's/\.elc$/.el/' > /tmp/elc | 202 leim/[a-z]*/[a-z]*.elc | sed 's/\.elc$/.el/' > /tmp/elc |
203 losers="`comm -23 /tmp/el /tmp/elc`" | 203 losers="`comm -23 /tmp/el /tmp/elc`" |
204 bogosities= | 204 bogosities= |
205 for file in $losers; do | 205 for file in $losers; do |
206 if ! grep -q "no-byte-compile: t" $file; then | 206 if ! grep -q "no-byte-compile: t" $file; then |
342 ln $img ../${tempdir}/lisp | 342 ln $img ../${tempdir}/lisp |
343 fi | 343 fi |
344 done | 344 done |
345 ## simula.el doesn't keep abbreviations in simula.defns any more. | 345 ## simula.el doesn't keep abbreviations in simula.defns any more. |
346 ## ln [a-zA-Z]*.defns ../${tempdir}/lisp | 346 ## ln [a-zA-Z]*.defns ../${tempdir}/lisp |
347 ln ChangeLog Makefile.in makefile.nt ChangeLog.? ../${tempdir}/lisp | 347 ln ChangeLog ChangeLog.*[0-9] ../${tempdir}/lisp |
348 ln makefile.w32-in ../${tempdir}/lisp | 348 ln Makefile.in makefile.w32-in ../${tempdir}/lisp |
349 test -f README && ln README ../${tempdir}/lisp | 349 test -f README && ln README ../${tempdir}/lisp |
350 (cd ../${tempdir}/lisp | 350 (cd ../${tempdir}/lisp |
351 rm -f TAGS =* | 351 rm -f TAGS =* |
352 rm -f ldefs-boot.el | |
352 rm -f site-init site-init.el site-init.elc | 353 rm -f site-init site-init.el site-init.elc |
353 rm -f site-load site-load.el site-load.elc | 354 rm -f site-load site-load.el site-load.elc |
354 rm -f site-start site-start.el site-start.elc | 355 rm -f site-start site-start.el site-start.elc |
355 rm -f default default.el default.elc | 356 rm -f default default.el default.elc |
356 ) | 357 ) |
382 ln $file/README ../${tempdir}/lisp/$file | 383 ln $file/README ../${tempdir}/lisp/$file |
383 fi | 384 fi |
384 | 385 |
385 if [ -f $file/ChangeLog ]; then | 386 if [ -f $file/ChangeLog ]; then |
386 ln $file/ChangeLog ../${tempdir}/lisp/$file | 387 ln $file/ChangeLog ../${tempdir}/lisp/$file |
387 for f in $file/ChangeLog.[0-9]; do | 388 for f in $file/ChangeLog.*[0-9]; do |
388 if [ -f $f ]; then | 389 if [ -f $f ]; then |
389 ln $f ../${tempdir}/lisp/$file | 390 ln $f ../${tempdir}/lisp/$file |
390 fi | 391 fi |
391 done | 392 done |
392 fi | 393 fi |
402 ln SKK-DIC/README SKK-DIC/SKK-JISYO.L ../${tempdir}/leim/SKK-DIC | 403 ln SKK-DIC/README SKK-DIC/SKK-JISYO.L ../${tempdir}/leim/SKK-DIC |
403 ln MISC-DIC/*.* ../${tempdir}/leim/MISC-DIC | 404 ln MISC-DIC/*.* ../${tempdir}/leim/MISC-DIC |
404 ln ja-dic/*.el ja-dic/*.elc ../${tempdir}/leim/ja-dic | 405 ln ja-dic/*.el ja-dic/*.elc ../${tempdir}/leim/ja-dic |
405 ln Makefile.in ../${tempdir}/leim/Makefile.in | 406 ln Makefile.in ../${tempdir}/leim/Makefile.in |
406 ln leim-ext.el ../${tempdir}/leim/leim-ext.el | 407 ln leim-ext.el ../${tempdir}/leim/leim-ext.el |
408 ## Lisp files that start with a capital are generated from TIT | |
409 ## dictionaries so we don't distribute them. | |
407 ln quail/[a-z]*.el quail/[a-z]*.elc ../${tempdir}/leim/quail | 410 ln quail/[a-z]*.el quail/[a-z]*.elc ../${tempdir}/leim/quail |
408 rm -f ../${tempdir}/leim/quail/quick-b5.* | 411 rm -f ../${tempdir}/leim/quail/quick-b5.* |
409 rm -f ../${tempdir}/leim/quail/quick-cns.* | 412 rm -f ../${tempdir}/leim/quail/quick-cns.* |
410 rm -f ../${tempdir}/leim/quail/tsang-b5.* | 413 rm -f ../${tempdir}/leim/quail/tsang-b5.* |
411 rm -f ../${tempdir}/leim/quail/tsang-cns.* | 414 rm -f ../${tempdir}/leim/quail/tsang-cns.* |