comparison make-dist @ 1700:4be274918c90

* make-dist: Make sure that the COPYING notices in each directory are copies, not symlinks.
author Jim Blandy <jimb@redhat.com>
date Thu, 24 Dec 1992 05:57:29 +0000
parents c4da55e6cfd3
children 1be021d4d816
comparison
equal deleted inserted replaced
1699:48b1565291a6 1700:4be274918c90
215 (cd vms 215 (cd vms
216 ln [0-9a-zA-Z]* ../${tempdir}/vms 216 ln [0-9a-zA-Z]* ../${tempdir}/vms
217 cd ../${tempdir}/vms 217 cd ../${tempdir}/vms
218 rm -f *~) 218 rm -f *~)
219 219
220 echo "Making sure copying notices are all symlinks to \`etc/COPYING'." 220 ### It would be nice if they could all be symlinks to etc's copy, but
221 ### you're not supposed to have any symlinks in distribution tar files.
222 echo "Making sure copying notices are all copies of \`etc/COPYING'."
221 rm -f ${tempdir}/etc/COPYING 223 rm -f ${tempdir}/etc/COPYING
222 cp etc/COPYING ${tempdir}/etc/COPYING 224 cp etc/COPYING ${tempdir}/etc/COPYING
223 for subdir in lisp external-lisp src lib-src info shortnames; do 225 for subdir in lisp external-lisp src lib-src info shortnames; do
224 if [ -f ${tempdir}/${subdir}/COPYING ]; then 226 if [ -f ${tempdir}/${subdir}/COPYING ]; then
225 rm ${tempdir}/${subdir}/COPYING 227 rm ${tempdir}/${subdir}/COPYING
226 fi 228 fi
227 ln -s ../etc/COPYING ${tempdir}/${subdir} 229 cp ../etc/COPYING ${tempdir}/${subdir}
228 done 230 done
229 231
230 if [ "${newer}" ]; then 232 if [ "${newer}" ]; then
231 echo "Removing files older than $newer." 233 echo "Removing files older than $newer."
232 ## We remove .elc files unconditionally, on the theory that anyone picking 234 ## We remove .elc files unconditionally, on the theory that anyone picking