Changeset 352 for trunk/appswitch/package-appswitch.sh
- Timestamp:
- 11/07/07 03:55:29 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/appswitch/package-appswitch.sh
r160 r352 5 5 cd appswitch && \ 6 6 find . -name \*~ -exec rm '{}' \; && \ 7 xcodebuild && \ 8 SetFile -c 'R*ch' -t 'TEXT' README VERSION && \ 9 strip build/appswitch && \ 10 sudo /usr/bin/install -c build/appswitch /usr/local/bin && \ 11 sudo /usr/bin/install -c appswitch.1 /usr/local/man/man1 && \ 12 chmod 755 build/appswitch && \ 7 xcodebuild -configuration Deployment clean && \ 8 xcodebuild -configuration Deployment DSTROOT=/ "INSTALL_PATH=$PWD" install && \ 9 SetFile -c 'ttxt' -t 'TEXT' README VERSION appswitch.1 && \ 10 sudo /usr/bin/install -d /usr/local/bin /usr/local/man/man1 && \ 11 sudo /usr/bin/install appswitch /usr/local/bin && \ 12 sudo /usr/bin/install -m 644 appswitch.1 /usr/local/man/man1 && \ 13 chmod 755 appswitch && \ 13 14 chmod 644 appswitch.1 && \ 14 rm -rf build/appswitch.build build/intermediates build/.gdb_history && \15 15 VERSION=`cat VERSION` TARBALL="appswitch-$VERSION.tar.gz" && \ 16 DMG="appswitch-$VERSION.dmg" VOL="appswitch $VERSION" MOUNTPOINT="/Volumes/$VOL" && \17 16 cd .. && \ 18 rm -f appswitch-$VERSION $TARBALL $DMG&& \17 rm -f appswitch-$VERSION $TARBALL && \ 19 18 ln -s appswitch appswitch-$VERSION && \ 20 tar --owner=root --group=wheel --exclude=.DS_Store --exclude=.svn --exclude=.gdb_history -zchf appswitch-$VERSION.tar.gz appswitch-$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 && \ 35 scp $TARBALL ainaz:web/nriley/software/ #$DMG 19 tar --owner=root --group=wheel --exclude=.DS_Store --exclude=.svn --exclude=.gdb_history --exclude=build --exclude=\*.mode* --exclude=\*.pbxuser --exclude=\*.perspective -zchf appswitch-$VERSION.tar.gz appswitch-$VERSION && \ 20 # scp $TARBALL ainaz:web/nriley/software/ 36 21 :
Note:
See TracChangeset
for help on using the changeset viewer.