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
commitc87b230fa2e4216f21d135250d155c61b71bb54b (patch)
treebaabf5bdbad2265e80fd51018ad438442253a897 /make-dist
parent0691c1795683432bbfe3ea20b9909965e570222b (diff)
downloademacs-c87b230fa2e4216f21d135250d155c61b71bb54b.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