comparison make-dist @ 41663:1cc9127ddf72

Add COPYING to the top-level directory of the distribution. Simplify the logic behind copying.
author Pavel Janík <Pavel@Janik.cz>
date Thu, 29 Nov 2001 07:27:54 +0000
parents 9cef47e51d37
children 8a2033481496
comparison
equal deleted inserted replaced
41662:ce67140bf1b2 41663:1cc9127ddf72
631 rm -f *~) 631 rm -f *~)
632 632
633 ### It would be nice if they could all be symlinks to etc's copy, but 633 ### It would be nice if they could all be symlinks to etc's copy, but
634 ### you're not supposed to have any symlinks in distribution tar files. 634 ### you're not supposed to have any symlinks in distribution tar files.
635 echo "Making sure copying notices are all copies of \`etc/COPYING'" 635 echo "Making sure copying notices are all copies of \`etc/COPYING'"
636 rm -f ${tempdir}/etc/COPYING 636 for subdir in . etc lisp src lib-src info msdos; do
637 cp etc/COPYING ${tempdir}/etc/COPYING 637 rm -f ${tempdir}/${subdir}/COPYING
638 for subdir in lisp src lib-src info msdos; do
639 if [ -f ${tempdir}/${subdir}/COPYING ]; then
640 rm ${tempdir}/${subdir}/COPYING
641 fi
642 cp etc/COPYING ${tempdir}/${subdir} 638 cp etc/COPYING ${tempdir}/${subdir}
643 done 639 done
644 640
645 #### Make sure that there aren't any hard links between files in the 641 #### Make sure that there aren't any hard links between files in the
646 #### distribution; people with afs can't deal with that. Okay, 642 #### distribution; people with afs can't deal with that. Okay,