Last change
on this file since 616 was 312, checked in by Nicholas Riley, 18 years ago |
package-launch.sh: fix install usage to properly create man directory and set permissions on man page; remove mentions of .dmg packaging.
|
File size:
888 bytes
|
Rev | Line | |
---|
[166] | 1 | #!/bin/zsh
|
---|
[3] | 2 |
|
---|
| 3 | set -x -v
|
---|
| 4 |
|
---|
| 5 | cd launch && \
|
---|
| 6 | find . -name \*~ -exec rm '{}' \; && \
|
---|
[267] | 7 | xcodebuild -configuration Deployment clean && \
|
---|
| 8 | xcodebuild -configuration Deployment DSTROOT=/ "INSTALL_PATH=$PWD" install && \
|
---|
[146] | 9 | SetFile -c 'R*ch' -t 'TEXT' README VERSION launch.1 && \
|
---|
[312] | 10 | sudo /usr/bin/install -d /usr/local/bin /usr/local/man/man1 && \
|
---|
| 11 | sudo /usr/bin/install launch /usr/local/bin && \
|
---|
| 12 | sudo /usr/bin/install -m 644 launch.1 /usr/local/man/man1 && \
|
---|
[267] | 13 | chmod 755 launch && \
|
---|
[166] | 14 | chmod 644 launch.1 && \
|
---|
[3] | 15 | VERSION=`cat VERSION` TARBALL="launch-$VERSION.tar.gz" && \
|
---|
| 16 | cd .. && \
|
---|
[312] | 17 | rm -f launch-$VERSION $TARBALL && \
|
---|
[3] | 18 | ln -s launch launch-$VERSION && \
|
---|
[305] | 19 | tar --owner=root --group=wheel --exclude=.DS_Store --exclude=.svn --exclude=.gdb_history --exclude=build --exclude=\*.mode2 --exclude=\*.pbxuser --exclude=\*.perspective -zchf launch-$VERSION.tar.gz launch-$VERSION && \
|
---|
[312] | 20 | scp $TARBALL ainaz:web/nriley/software/
|
---|
[305] | 21 | :
|
---|
Note:
See
TracBrowser
for help on using the repository browser.