File: makeDistributionMacOSX

package info (click to toggle)
transcend 0.3.dfsg2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,784 kB
  • sloc: cpp: 26,886; ansic: 693; sh: 210; makefile: 99; perl: 67
file content (82 lines) | stat: -rwxr-xr-x 1,627 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/bin/sh

#
# Modification History
#
# 2004-June-22   Jason Rohrer
# Copied from Monolith wxWindows build script.
#


if [ $# -lt 2 ] ; then
   echo "Usage: $0 release_name unix_platform_name"
   exit 1
fi


rm -rf mac

mkdir mac

mkdir mac/Transcend

mkdir mac/Transcend/levels
mkdir mac/Transcend/levels/001
mkdir mac/Transcend/levels/001/colors

# these calls will skip CVS directories
cp ../levels/001/* mac/Transcend/levels/001/
cp ../levels/001/colors/* mac/Transcend/levels/001/colors/

# remove backup files
rm mac/Transcend/levels/001/*~
rm mac/Transcend/levels/001/colors/*~



mkdir mac/Transcend/levels/002
mkdir mac/Transcend/levels/002/colors

# these calls will skip CVS directories
cp ../levels/002/* mac/Transcend/levels/002/
cp ../levels/002/colors/* mac/Transcend/levels/002/colors/

# remove backup files
rm mac/Transcend/levels/002/*~
rm mac/Transcend/levels/002/colors/*~


mkdir mac/Transcend/levels/003
mkdir mac/Transcend/levels/003/colors

# these calls will skip CVS directories
cp ../levels/003/* mac/Transcend/levels/003/
cp ../levels/003/colors/* mac/Transcend/levels/003/colors/

# remove backup files
rm mac/Transcend/levels/003/*~
rm mac/Transcend/levels/003/colors/*~




cp -r macOSX/Transcend.app mac/Transcend
cp ../game/Transcend mac/Transcend/Transcend.app/Contents/MacOS

cp ../doc/how_to_*.txt mac/Transcend

rm -r mac/Transcend/Transcend.app/CVS
rm -r mac/Transcend/Transcend.app/Contents/CVS
rm -r mac/Transcend/Transcend.app/Contents/MacOS/CVS
rm -r mac/Transcend/Transcend.app/Contents/Resources/CVS


cd mac
tar cf "Transcend_$1_$2.tar" Transcend
gzip "Transcend_$1_$2.tar"