diff options
| author | Karl Heuer | 1995-11-06 22:05:26 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-11-06 22:05:26 +0000 |
| commit | bb7e0f816e461c7751828375a8090a21ce2c9258 (patch) | |
| tree | 69791b951c4114e1e7aff7ae8f075c4c08e357c0 | |
| parent | 2f004501b960b3e62e88bf52933c5b02034d6988 (diff) | |
| download | emacs-bb7e0f816e461c7751828375a8090a21ce2c9258.tar.gz emacs-bb7e0f816e461c7751828375a8090a21ce2c9258.zip | |
Break the hard link on alloca.c.
| -rwxr-xr-x | make-dist | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -367,9 +367,14 @@ done | |||
| 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." |