Mercurial > hg > xemacs-beta
comparison configure @ 26:441bb1e64a06 r19-15b96
Import from CVS: tag r19-15b96
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 08:51:32 +0200 |
| parents | 4103f0995bd7 |
| children | 1917ad0d78d7 |
comparison
equal
deleted
inserted
replaced
| 25:383a494979f8 | 26:441bb1e64a06 |
|---|---|
| 1436 #### Make symlinks for etc, lisp, and info directories while the path | 1436 #### Make symlinks for etc, lisp, and info directories while the path |
| 1437 #### is still relative. We don't symlink lock because someone may | 1437 #### is still relative. We don't symlink lock because someone may |
| 1438 #### have stuck the source on a read-only partition. Instead we'll | 1438 #### have stuck the source on a read-only partition. Instead we'll |
| 1439 #### create it as an actual directory later on if it doesn't already | 1439 #### create it as an actual directory later on if it doesn't already |
| 1440 #### exist. | 1440 #### exist. |
| 1441 for dir in etc lisp info | 1441 for dir in etc man info site-lisp |
| 1442 do | 1442 do |
| 1443 if [ ! -d $dir ]; then | 1443 if [ ! -d $dir ]; then |
| 1444 echo Making symbolic link to ${srcdir}/$dir | 1444 echo Making symbolic link to ${srcdir}/$dir |
| 1445 ${LN_S} ${srcdir}/$dir . | 1445 ${LN_S} ${srcdir}/$dir . |
| 1446 fi | 1446 fi |
| 1447 done | 1447 done |
| 1448 | |
| 1449 # lisp/ is special | |
| 1450 if [ ! -d lisp ]; then | |
| 1451 mkdir lisp | |
| 1452 echo Making symbolic links to lisp libraries | |
| 1453 ${LN_S} ${srcdir}/lisp/* ./lisp | |
| 1454 rm -f ./lisp/*.el ./lisp/site-packages | |
| 1455 cp ${srcdir}/lisp/*.el lisp | |
| 1456 if [ -f ${srcdir}/lisp/site-packages ]; then | |
| 1457 cp ${srcdir}/lisp/site-packages lisp | |
| 1458 fi | |
| 1459 fi | |
| 1460 | |
| 1461 cp ${srcdir}/lisp/version.el lisp | |
| 1448 | 1462 |
| 1449 #### Make srcdir absolute, if it isn't already. It's important to | 1463 #### Make srcdir absolute, if it isn't already. It's important to |
| 1450 #### avoid running the path through pwd unnecessary, since pwd can | 1464 #### avoid running the path through pwd unnecessary, since pwd can |
| 1451 #### give you automounter prefixes, which can go away. | 1465 #### give you automounter prefixes, which can go away. |
| 1452 case "${srcdir}" in | 1466 case "${srcdir}" in |
