summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-12-24 05:57:29 +0000
committerJim Blandy <jimb@redhat.com>1992-12-24 05:57:29 +0000
commitdaa5a3e62c1701967d719edb1074c973a1600ece (patch)
tree2bc755734206492923f4c4ec45d285743d6fd6ef /make-dist
parent82517138983560eeda221092de4f659b4ee65d18 (diff)
downloademacs-daa5a3e62c1701967d719edb1074c973a1600ece.tar.gz
* make-dist: Make sure that the COPYING notices in each directory
are copies, not symlinks.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist6
1 files changed, 4 insertions, 2 deletions
diff --git a/make-dist b/make-dist
index 4d76be2fa2d..9c0207ae6e3 100755
--- a/make-dist
+++ b/make-dist
@@ -217,14 +217,16 @@ echo "Making links to \`vms'."
cd ../${tempdir}/vms
rm -f *~)
-echo "Making sure copying notices are all symlinks to \`etc/COPYING'."
+### 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 external-lisp src lib-src info shortnames; do
if [ -f ${tempdir}/${subdir}/COPYING ]; then
rm ${tempdir}/${subdir}/COPYING
fi
- ln -s ../etc/COPYING ${tempdir}/${subdir}
+ cp ../etc/COPYING ${tempdir}/${subdir}
done
if [ "${newer}" ]; then