![](https://secure.gravatar.com/avatar/a3ab1b334e0d6f917a672b6a2209db67.jpg?s=120&d=mm&r=g)
Raymond Toy pushed to branch issue-363-add-version-number at cmucl / cmucl Commits: b4d0c2b7 by Raymond Toy at 2025-01-05T13:30:06-08:00 Forcibly create symlink for lisp - - - - - 5b45c46f by Raymond Toy at 2025-01-05T13:30:24-08:00 Install src and tests dir in share/cmucl/<version/ - - - - - 2 changed files: - bin/make-main-dist.sh - bin/make-src-dist.sh Changes: ===================================== bin/make-main-dist.sh ===================================== @@ -141,7 +141,7 @@ install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/${DOCDIR} install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/${MANDIR} install ${GROUP} ${OWNER} -m 0755 $TARGET/lisp/lisp $DESTDIR/bin/lisp-$VERSION # Install symlink for lisp -(cd $DESTDIR/bin; ln -s lisp-$VERSION lisp) +(cd $DESTDIR/bin; ln -fs lisp-$VERSION lisp) if [ "$EXECUTABLE" = "true" ] then ===================================== bin/make-src-dist.sh ===================================== @@ -52,12 +52,18 @@ else VERSION="`date '+%Y-%m-%d-%H:%M:%S'`" fi +DESTDIR=${INSTALL_DIR:-release-$$} + echo Creating source distribution +set -x GTAR_OPTIONS="--exclude=.git --exclude='*.pot.~*~'" +install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/share/cmucl/$VERSION/ +${GTAR} ${GTAR_OPTIONS} -cf - src tests | (cd $DESTDIR/share/cmucl/$VERSION; ${GTAR} xf -) if [ -z "$INSTALL_DIR" ]; then # echo " Compressing with $ZIP" - ${GTAR} ${GTAR_OPTIONS} ${COMPRESS} -cf cmucl-src-$VERSION.tar.$COMPRESS_EXT bin src tests + ls $DESTDIR/share/cmucl/$VERSION/ + ${GTAR} ${GTAR_OPTIONS} ${COMPRESS} -C $DESTDIR -cf cmucl-src-$VERSION.tar.$COMPRESS_EXT share/cmucl/$VERSION/src else # Install in the specified directory - ${GTAR} ${GTAR_OPTIONS} -cf - bin src tests | (cd $INSTALL_DIR; ${GTAR:-tar} xf -) + ${GTAR} ${GTAR_OPTIONS} -cf - src tests | (cd $DESTDIR/share/cmucl/$VERSION; ${GTAR:-tar} xf -) fi View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/1232e93a9f7d33a32c2a922... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/1232e93a9f7d33a32c2a922... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)