aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-10-12 00:31:58 -0700
committerGlenn Morris2010-10-12 00:31:58 -0700
commit6f3ed07fed6c7434e77e8800ba834d2f4c23da08 (patch)
tree097c85fb053aae06ec2d03f87531519d7499c0dc
parentd5e38a567cf226f3444cf12528e2c982d4eab4ec (diff)
downloademacs-6f3ed07fed6c7434e77e8800ba834d2f4c23da08.tar.gz
emacs-6f3ed07fed6c7434e77e8800ba834d2f4c23da08.zip
* make-dist: Use find for the whole etc/ directory.
-rwxr-xr-xmake-dist26
1 files changed, 5 insertions, 21 deletions
diff --git a/make-dist b/make-dist
index 8db45b225e1..6da5502a3d8 100755
--- a/make-dist
+++ b/make-dist
@@ -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
491echo "Making links to \`etc'" 491echo "Making links to \`etc' and its subdirectories"
492(cd etc 492for 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
501for 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})
508done
509
510echo "Making links to \`etc/images' and its subdirectories"
511for f in `find etc/images -type f`; do
512 ln $f $tempdir/$f 496 ln $f $tempdir/$f
513done 497done
514 498