comparison make-dist @ 28821:9eb6792eefac

Make a link for lib-src/grep-changelog. Copy install-sh.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 05 May 2000 13:19:27 +0000
parents d6607102aa71
children 43f15cfb67a0
comparison
equal deleted inserted replaced
28820:ead39cb09e31 28821:9eb6792eefac
264 ln config.bat make-dist update-subdirs vpath.sed ${tempdir} 264 ln config.bat make-dist update-subdirs vpath.sed ${tempdir}
265 ### Copy these files; they're cross-filesystem symlinks. 265 ### Copy these files; they're cross-filesystem symlinks.
266 cp mkinstalldirs ${tempdir} 266 cp mkinstalldirs ${tempdir}
267 cp config.sub ${tempdir} 267 cp config.sub ${tempdir}
268 cp config.guess ${tempdir} 268 cp config.guess ${tempdir}
269 cp install.sh ${tempdir} 269 cp install-sh ${tempdir}
270 270
271 echo "Updating version number in README" 271 echo "Updating version number in README"
272 (cd ${tempdir} 272 (cd ${tempdir}
273 awk \ 273 awk \
274 '$1 " " $2 " " $3 " " $4 " " $5 == "This directory tree holds version" { $6 = version; print $0 } 274 '$1 " " $2 " " $3 " " $4 " " $5 == "This directory tree holds version" { $6 = version; print $0 }
403 403
404 echo "Making links to \`lib-src'" 404 echo "Making links to \`lib-src'"
405 (cd lib-src 405 (cd lib-src
406 ln [a-zA-Z]*.[chy] ../${tempdir}/lib-src 406 ln [a-zA-Z]*.[chy] ../${tempdir}/lib-src
407 ln ChangeLog Makefile.in README testfile vcdiff ../${tempdir}/lib-src 407 ln ChangeLog Makefile.in README testfile vcdiff ../${tempdir}/lib-src
408 ln rcs2log rcs-checkin makefile.nt ../${tempdir}/lib-src 408 ln grep-changelog rcs2log rcs-checkin makefile.nt ../${tempdir}/lib-src
409 ## If we ended up with a symlink, or if we did not get anything 409 ## If we ended up with a symlink, or if we did not get anything
410 ## due to a cross-device symlink, copy the file. 410 ## due to a cross-device symlink, copy the file.
411 for file in [a-zA-Z]*.[chy]; do 411 for file in [a-zA-Z]*.[chy]; do
412 if test -f ../${tempdir}/lib-src/$file; then 412 if test -f ../${tempdir}/lib-src/$file; then
413 # test -f appears to succeed for a symlink 413 # test -f appears to succeed for a symlink