diff 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
line wrap: on
line diff
--- a/make-dist	Thu Nov 29 06:55:05 2001 +0000
+++ b/make-dist	Thu Nov 29 07:27:54 2001 +0000
@@ -633,12 +633,8 @@
 ### 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