Add COPYING to the top-level directory of the distribution. Simplify the

logic behind copying.
This commit is contained in:
Pavel Janík 2001-11-29 07:27:54 +00:00
parent b1356234ad
commit b37017c6dd

View file

@ -633,12 +633,8 @@ echo "Making links to \`vms'"
### It would be nice if they could all be symlinks to etc's copy, but
### you're not supposed to have any symlinks in distribution tar files.
echo "Making sure copying notices are all copies of \`etc/COPYING'"
rm -f ${tempdir}/etc/COPYING
cp etc/COPYING ${tempdir}/etc/COPYING
for subdir in lisp src lib-src info msdos; do
if [ -f ${tempdir}/${subdir}/COPYING ]; then
rm ${tempdir}/${subdir}/COPYING
fi
for subdir in . etc lisp src lib-src info msdos; do
rm -f ${tempdir}/${subdir}/COPYING
cp etc/COPYING ${tempdir}/${subdir}
done