comparison make-dist @ 110948:a2f817d28d08

* make-dist: Use find for the whole etc/ directory.
author Glenn Morris <rgm@gnu.org>
date Tue, 12 Oct 2010 00:31:58 -0700
parents da31de2465a5
children aa38b4aad856
comparison
equal deleted inserted replaced
110947:da31de2465a5 110948:a2f817d28d08
486 echo "Making links to \`lwlib'" 486 echo "Making links to \`lwlib'"
487 (cd lwlib 487 (cd 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
515 echo "Making links to \`info'" 499 echo "Making links to \`info'"
516 (cd info 500 (cd info