changeset 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 ce67140bf1b2
children 4e9db3befa86
files make-dist
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
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