Raymond Toy pushed to branch issue-363-add-version-number at cmucl / cmucl

Commits:

2 changed files:

Changes:

  • bin/make-main-dist.sh
    ... ... @@ -141,7 +141,7 @@ install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/${DOCDIR}
    141 141
     install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/${MANDIR}
    
    142 142
     install ${GROUP} ${OWNER} -m 0755 $TARGET/lisp/lisp $DESTDIR/bin/lisp-$VERSION
    
    143 143
     # Install symlink for lisp
    
    144
    -(cd $DESTDIR/bin; ln -s lisp-$VERSION lisp)
    
    144
    +(cd $DESTDIR/bin; ln -fs lisp-$VERSION lisp)
    
    145 145
     
    
    146 146
     if [ "$EXECUTABLE" = "true" ]
    
    147 147
     then
    

  • bin/make-src-dist.sh
    ... ... @@ -52,12 +52,18 @@ else
    52 52
         VERSION="`date '+%Y-%m-%d-%H:%M:%S'`"
    
    53 53
     fi
    
    54 54
     
    
    55
    +DESTDIR=${INSTALL_DIR:-release-$$}
    
    56
    +
    
    55 57
     echo Creating source distribution
    
    58
    +set -x
    
    56 59
     GTAR_OPTIONS="--exclude=.git --exclude='*.pot.~*~'"
    
    60
    +install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/share/cmucl/$VERSION/
    
    61
    +${GTAR} ${GTAR_OPTIONS} -cf - src tests | (cd $DESTDIR/share/cmucl/$VERSION; ${GTAR} xf -)
    
    57 62
     if [ -z "$INSTALL_DIR" ]; then
    
    58 63
         # echo "  Compressing with $ZIP"
    
    59
    -    ${GTAR} ${GTAR_OPTIONS} ${COMPRESS} -cf cmucl-src-$VERSION.tar.$COMPRESS_EXT bin src tests
    
    64
    +    ls $DESTDIR/share/cmucl/$VERSION/
    
    65
    +    ${GTAR} ${GTAR_OPTIONS} ${COMPRESS} -C $DESTDIR -cf cmucl-src-$VERSION.tar.$COMPRESS_EXT share/cmucl/$VERSION/src
    
    60 66
     else
    
    61 67
         # Install in the specified directory
    
    62
    -    ${GTAR} ${GTAR_OPTIONS} -cf - bin src tests | (cd $INSTALL_DIR; ${GTAR:-tar} xf -)
    
    68
    +    ${GTAR} ${GTAR_OPTIONS} -cf - src tests | (cd $DESTDIR/share/cmucl/$VERSION; ${GTAR:-tar} xf -)
    
    63 69
     fi