Last change
on this file since 375 was 352, checked in by Nicholas Riley, 17 years ago |
svn:ignore: added appswitch, now it builds in the top-level directory.
README: Fixed installation instructions, now appswitch builds in the
top-level directory.
appswitch.xcodeproj: Add Xcode 3 specific stuff; remove detritus from
install build.
package-appswitch.sh: Update based on package-launch.sh from [305] and
[312]: simplifies and moves executable out of build directory;
properly creates man directory and sets permissions on man page;
removes mentions of .dmg packaging; excludes more useless things
instead of ineffectively deleting them.
|
File size:
924 bytes
|
Rev | Line | |
---|
[91] | 1 | #!/bin/sh
|
---|
| 2 |
|
---|
| 3 | set -x -v
|
---|
| 4 |
|
---|
| 5 | cd appswitch && \
|
---|
| 6 | find . -name \*~ -exec rm '{}' \; && \
|
---|
[352] | 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 && \
|
---|
[160] | 14 | chmod 644 appswitch.1 && \
|
---|
[91] | 15 | VERSION=`cat VERSION` TARBALL="appswitch-$VERSION.tar.gz" && \
|
---|
| 16 | cd .. && \
|
---|
[352] | 17 | rm -f appswitch-$VERSION $TARBALL && \
|
---|
[91] | 18 | ln -s appswitch appswitch-$VERSION && \
|
---|
[352] | 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/
|
---|
[91] | 21 | : |
---|
Note:
See
TracBrowser
for help on using the repository browser.