Mercurial > emacs
comparison make-dist @ 13406:5aaab914fc6b
Break the hard link on alloca.c.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 06 Nov 1995 22:05:26 +0000 |
parents | 94c647f0c13b |
children | 2e30fc2cbae8 |
comparison
equal
deleted
inserted
replaced
13405:655214155aaa | 13406:5aaab914fc6b |
---|---|
365 #### distribution; people with afs can't deal with that. Okay, | 365 #### distribution; people with afs can't deal with that. Okay, |
366 #### actually we just re-copy anything with a link count greater | 366 #### actually we just re-copy anything with a link count greater |
367 #### than two. (Yes, strictly greater than 2 is correct; since we | 367 #### than two. (Yes, strictly greater than 2 is correct; since we |
368 #### created these files by linking them in from the original tree, | 368 #### created these files by linking them in from the original tree, |
369 #### they'll have exactly two links normally.) | 369 #### they'll have exactly two links normally.) |
370 #### | |
371 #### Commented out since it's not stricly necessary; it should suffice | |
372 #### to just break the link on alloca.c. | |
370 #echo "Breaking intra-tree links." | 373 #echo "Breaking intra-tree links." |
371 #find ${tempdir} ! -type d -links +2 \ | 374 #find ${tempdir} ! -type d -links +2 \ |
372 # -exec cp -p {} $$ \; -exec rm -f {} \; -exec mv $$ {} \; | 375 # -exec cp -p {} $$ \; -exec rm -f {} \; -exec mv $$ {} \; |
376 rm -f $tempdir/lib-src/alloca.c | |
377 cp $tempdir/src/alloca.c $tempdir/lib-src/alloca.c | |
373 | 378 |
374 if [ "${newer}" ]; then | 379 if [ "${newer}" ]; then |
375 echo "Removing files older than $newer." | 380 echo "Removing files older than $newer." |
376 ## We remove .elc files unconditionally, on the theory that anyone picking | 381 ## We remove .elc files unconditionally, on the theory that anyone picking |
377 ## up an incremental distribution already has a running Emacs to byte-compile | 382 ## up an incremental distribution already has a running Emacs to byte-compile |