Develop and Download Open Source Software

Browse CVS Repository

Contents of /enbanfukusyaya/EnbanFukusyaYa/MacOSX/mkdmg.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Wed Feb 7 16:36:16 2007 UTC (17 years, 2 months ago) by bananajinn
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-sh
*** empty log message ***

1 #!/bin/sh
2 xcodebuild clean
3 xcodebuild -buildstyle Release || exit 1
4
5 read -p "version=" VER
6 WORK=image-work
7 APPNAME=EnbanFukusyaYa
8 TARGET=$APPNAME-$VER-MacOSX.dmg
9
10 rm -f $TARGET
11 rm -rf $WORK
12 mkdir $WORK
13 cp ../ChangeLog $WORK
14 cp ../README $WORK
15 cp ../COPYING $WORK
16 cp -r build/$APPNAME.app $WORK
17 hdiutil create -srcfolder $WORK \
18 -format UDZO \
19 -fs HFS+ \
20 -layout NONE \
21 -volname "$APPNAME-$VER" \
22 $TARGET
23 rm -rf $WORK

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26