Mercurial > emacs
changeset 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 |
files | make-dist |
diffstat | 1 files changed, 5 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/make-dist Tue Oct 12 00:27:07 2010 -0700 +++ b/make-dist Tue Oct 12 00:31:58 2010 -0700 @@ -488,27 +488,11 @@ ln *.[ch] *.in ../${tempdir}/lwlib ln README ChangeLog ../${tempdir}/lwlib) -echo "Making links to \`etc'" -(cd etc - for f in *; do - [ -f "$f" ] || continue - case "$f" in - DOC*) continue ;; - esac - ln $f ../${tempdir}/etc - done) - -for dir in etc/*/; do - case "$dir" in - etc/images/) continue ;; - esac - echo "Making links to \`${dir}'" - (cd ${dir} - ln * ../../${tempdir}/${dir}) -done - -echo "Making links to \`etc/images' and its subdirectories" -for f in `find etc/images -type f`; do +echo "Making links to \`etc' and its subdirectories" +for f in `find etc -type f`; do + case $f in + etc/DOC*) continue ;; + esac ln $f $tempdir/$f done