Changeset 267 for trunk/launch


Ignore:
Timestamp:
07/20/06 11:49:13 (18 years ago)
Author:
Nicholas Riley
Message:

package-launch.sh, launch/README: New, simpler packaging process.

Location:
trunk/launch
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/launch/launch

    • Property svn:ignore
      •  

        old new  
        22.*
        33*~
         4launch
  • trunk/launch/launch/README

    r265 r267  
    5050
    5151% sudo /usr/bin/install -d /usr/local/bin /usr/local/man/man1
    52 % sudo /usr/bin/install -c build/launch /usr/local/bin
     52% sudo /usr/bin/install -c launch /usr/local/bin
    5353% sudo /usr/bin/install -c launch.1 /usr/local/man/man1
    5454% rehash
  • trunk/launch/package-launch.sh

    r166 r267  
    55cd launch && \
    66find . -name \*~ -exec rm '{}' \; && \
    7 xcodebuild -buildstyle Deployment && \
     7xcodebuild -configuration Deployment clean && \
     8xcodebuild -configuration Deployment DSTROOT=/ "INSTALL_PATH=$PWD" install && \
    89SetFile -c 'R*ch' -t 'TEXT' README VERSION launch.1 && \
    9 strip build/launch && \
    10 sudo /usr/bin/install -c build/launch /usr/local/bin && \
     10sudo /usr/bin/install -c launch /usr/local/bin && \
    1111sudo /usr/bin/install -c launch.1 /usr/local/man/man1 && \
    12 chmod 755 build/launch && \
     12chmod 755 launch && \
    1313chmod 644 launch.1 && \
    1414rm -rf build/launch.build build/intermediates build/.gdb_history && \
    1515VERSION=`cat VERSION` TARBALL="launch-$VERSION.tar.gz" && \
    16 DMG="launch-$VERSION.dmg" VOL="launch $VERSION" MOUNTPOINT="/Volumes/$VOL" && \
    1716cd .. && \
    1817rm -f launch-$VERSION $TARBALL $DMG && \
    1918ln -s launch launch-$VERSION && \
    2019tar --owner=root --group=wheel --exclude=.DS_Store --exclude=.svn --exclude=.gdb_history -zchf launch-$VERSION.tar.gz launch-$VERSION && \
    21 #hdiutil create $DMG -megabytes 5 -ov -type UDIF && \
    22 #DISK=`hdid $DMG | sed -ne ' /Apple_partition_scheme/ s|^/dev/\([^ ]*\).*$|\1|p'` && \
    23 #newfs_hfs -v "$VOL" /dev/r${DISK}s2 && \
    24 #hdiutil eject $DISK && \
    25 #hdid $DMG && \
    26 #ditto -rsrc launch "$MOUNTPOINT" && \
    27 #ditto -rsrc "InstallAnywhere/launch_Web_Installers/InstData/MacOSX/Install launch $VERSION.sit" "/Volumes/launch $VERSION" && \
    28 #launch "$MOUNTPOINT/Install launch $VERSION.sit" && \
    29 #./openUp "$MOUNTPOINT" && \
    30 #sleep 2 && \
    31 ## hdiutil eject $DISK && \ # this doesn't work
    32 #osascript -e "tell application \"Finder\" to eject disk \"$VOL\"" && \
    33 #hdiutil convert $DMG -format UDZO -o z$DMG && \
    34 #mv z$DMG $DMG && \
    3520scp $TARBALL ainaz:web/nriley/software/ #$DMG
    3621:
Note: See TracChangeset for help on using the changeset viewer.