-if [ ! -d src -o ! -f src/lisp.h -o ! -d lisp -o ! -f lisp/version.el ]; then
- echo "${progname}: Can't find \`src/lisp.h' and \`lisp/version.el'." >&2
+if [ ! -d src -o ! -f src/lisp.h -o ! -d lisp -o ! -f lisp/subr.el ]; then
+ echo "${progname}: Can't find \`src/lisp.h' and \`lisp/subr.el'." >&2
echo "${progname} must be run in the top directory of the Emacs" >&2
echo "distribution tree. cd to that directory and try again." >&2
exit 1
echo "${progname} must be run in the top directory of the Emacs" >&2
echo "distribution tree. cd to that directory and try again." >&2
exit 1
### Don't distribute = files, TAGS, DOC files, backups, autosaves, or
### tex litter.
(cd etc
### Don't distribute = files, TAGS, DOC files, backups, autosaves, or
### tex litter.
(cd etc
| grep -v '^charsets$' | grep -v '^gnus$' | grep -v '^images$' | grep -v '^nxml$' \
| grep -v '^refcards$' | grep -v '^tutorials$'| grep -v '^schema$'`
ln $files ../${tempdir}/etc
| grep -v '^charsets$' | grep -v '^gnus$' | grep -v '^images$' | grep -v '^nxml$' \
| grep -v '^refcards$' | grep -v '^tutorials$'| grep -v '^schema$'`
ln $files ../${tempdir}/etc
for dir in etc/charsets etc/e etc/gnus etc/nxml etc/tutorials etc/refcards etc/schema ; do
echo "Making links to \`${dir}'"
(cd ${dir}
for dir in etc/charsets etc/e etc/gnus etc/nxml etc/tutorials etc/refcards etc/schema ; do
echo "Making links to \`${dir}'"
(cd ${dir}
cd ../../${tempdir}/${dir}
rm -f *~ \#*\# *,v =* core)
done
cd ../../${tempdir}/${dir}
rm -f *~ \#*\# *,v =* core)
done
cd ../../../../${tempdir}/${dir}
rm -f *~ \#*\# *,v =* core)
done
cd ../../../../${tempdir}/${dir}
rm -f *~ \#*\# *,v =* core)
done
cd ../../../../../../${tempdir}/${dir}
rm -f *~ \#*\# *,v =* core)
done
cd ../../../../../../${tempdir}/${dir}
rm -f *~ \#*\# *,v =* core)
done