diff options
| -rwxr-xr-x | make-dist | 17 |
1 files changed, 10 insertions, 7 deletions
| @@ -184,9 +184,9 @@ fi | |||
| 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 |
| @@ -196,9 +196,9 @@ then | |||
| 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= |
| @@ -344,11 +344,12 @@ echo "Making links to \`lisp' and its subdirectories" | |||
| 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 |
| @@ -384,7 +385,7 @@ echo "Making links to \`lisp' and its subdirectories" | |||
| 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 |
| @@ -404,6 +405,8 @@ echo "Making links to \`leim' and its subdirectories" | |||
| 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.* |