Commit 6f3ed07f authored by Glenn Morris's avatar Glenn Morris
Browse files

* make-dist: Use find for the whole etc/ directory.

parent d5e38a56
......@@ -488,27 +488,11 @@ echo "Making links to \`lwlib'"
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment