summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2001-11-29 07:27:54 +0000
committerPavel Janík <Pavel@Janik.cz>2001-11-29 07:27:54 +0000
commitb37017c6dddadaba74c21443576d8c414effa5f8 (patch)
tree76c999c588e48a429552363b23e74ede775f76e1 /make-dist
parentb1356234ad5fb821b66f4109639307c9e2d4acd9 (diff)
downloademacs-b37017c6dddadaba74c21443576d8c414effa5f8.tar.gz
Add COPYING to the top-level directory of the distribution. Simplify the
logic behind copying.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist8
1 files changed, 2 insertions, 6 deletions
diff --git a/make-dist b/make-dist
index ab70ce94347..5d6cfb4a90c 100755
--- a/make-dist
+++ b/make-dist
@@ -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