diff options
| author | Glenn Morris | 2010-10-12 00:31:58 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-10-12 00:31:58 -0700 |
| commit | 6f3ed07fed6c7434e77e8800ba834d2f4c23da08 (patch) | |
| tree | 097c85fb053aae06ec2d03f87531519d7499c0dc | |
| parent | d5e38a567cf226f3444cf12528e2c982d4eab4ec (diff) | |
| download | emacs-6f3ed07fed6c7434e77e8800ba834d2f4c23da08.tar.gz emacs-6f3ed07fed6c7434e77e8800ba834d2f4c23da08.zip | |
* make-dist: Use find for the whole etc/ directory.
| -rwxr-xr-x | make-dist | 26 |
1 files changed, 5 insertions, 21 deletions
| @@ -488,27 +488,11 @@ echo "Making links to \`lwlib'" | |||
| 488 | ln *.[ch] *.in ../${tempdir}/lwlib | 488 | ln *.[ch] *.in ../${tempdir}/lwlib |
| 489 | ln README ChangeLog ../${tempdir}/lwlib) | 489 | ln README ChangeLog ../${tempdir}/lwlib) |
| 490 | 490 | ||
| 491 | echo "Making links to \`etc'" | 491 | echo "Making links to \`etc' and its subdirectories" |
| 492 | (cd etc | 492 | for f in `find etc -type f`; do |
| 493 | for f in *; do | 493 | case $f in |
| 494 | [ -f "$f" ] || continue | 494 | etc/DOC*) continue ;; |
| 495 | case "$f" in | 495 | esac |
| 496 | DOC*) continue ;; | ||
| 497 | esac | ||
| 498 | ln $f ../${tempdir}/etc | ||
| 499 | done) | ||
| 500 | |||
| 501 | for dir in etc/*/; do | ||
| 502 | case "$dir" in | ||
| 503 | etc/images/) continue ;; | ||
| 504 | esac | ||
| 505 | echo "Making links to \`${dir}'" | ||
| 506 | (cd ${dir} | ||
| 507 | ln * ../../${tempdir}/${dir}) | ||
| 508 | done | ||
| 509 | |||
| 510 | echo "Making links to \`etc/images' and its subdirectories" | ||
| 511 | for f in `find etc/images -type f`; do | ||
| 512 | ln $f $tempdir/$f | 496 | ln $f $tempdir/$f |
| 513 | done | 497 | done |
| 514 | 498 | ||