]>
Commit | Line | Data |
---|---|---|
03a2668f KO |
1 | ### List of variables for the purposes of generating an application's |
2 | ### setup.exe | |
3 | ||
4 | CYGPATH= | |
5 | if [ "$OSTYPE" = "cygwin" ]; then | |
6 | CYGPATH=cygpath | |
7 | fi | |
8 | ||
9 | #------------------------------------------------------------------------- | |
10 | # The application name | |
11 | #------------------------------------------------------------------------- | |
12 | ||
13 | APPNAME=wxwin | |
14 | ||
15 | #------------------------------------------------------------------------- | |
16 | # The application title | |
17 | #------------------------------------------------------------------------- | |
18 | ||
19 | APPTITLE="wxWidgets" | |
20 | ||
21 | #------------------------------------------------------------------------- | |
22 | # The application author (copyright holder) | |
23 | #------------------------------------------------------------------------- | |
24 | ||
25 | AUTHOR="The wxWidgets Team" | |
26 | ||
27 | #------------------------------------------------------------------------- | |
28 | # The application vendor (organisation) | |
29 | #------------------------------------------------------------------------- | |
30 | ||
31 | VENDOR="Anthemion" | |
32 | ||
33 | #------------------------------------------------------------------------- | |
34 | # The application data file extension | |
35 | #------------------------------------------------------------------------- | |
36 | ||
37 | APPEXTENSION= | |
38 | ||
39 | #------------------------------------------------------------------------- | |
40 | # The symbol to use when querying for the version number (not used) | |
41 | #------------------------------------------------------------------------- | |
42 | ||
43 | VERSIONSYMBOL=wxVERSION | |
44 | ||
45 | #------------------------------------------------------------------------- | |
46 | # The top-level directory of the application source tree | |
47 | #------------------------------------------------------------------------- | |
48 | ||
49 | APPDIR=C:/wx2dev/wxWidgets | |
50 | if [ ! $CYGPATH = "" ]; then | |
51 | APPDIR=`$CYGPATH "$APPDIR"` | |
52 | fi | |
53 | ||
54 | #------------------------------------------------------------------------- | |
55 | # The destination directory of the setup | |
56 | #------------------------------------------------------------------------- | |
57 | ||
58 | DESTDIR=$APPDIR/deliver | |
59 | ||
60 | #------------------------------------------------------------------------- | |
61 | # The temporary image directory to use when preparing the setup | |
62 | #------------------------------------------------------------------------- | |
63 | ||
64 | SETUPIMAGEDIR=$APPDIR/deliver/wxWidgets-$VERSION | |
65 | ||
66 | #------------------------------------------------------------------------- | |
67 | # The name of the file with $VERSIONSYMBOL in it | |
68 | #------------------------------------------------------------------------- | |
69 | ||
70 | VERSIONSYMBOLFILE=$APPDIR/include/wx/version.h | |
71 | ||
72 | #------------------------------------------------------------------------- | |
73 | # The locations of the project's Inno Setup header and footer files | |
74 | #------------------------------------------------------------------------- | |
75 | ||
76 | INNOTOP=$APPDIR/distrib/msw/innotop.txt | |
77 | INNOBOTTOM=$APPDIR/distrib/msw/innobott.txt | |
78 | ||
79 | #------------------------------------------------------------------------- | |
80 | # The location of the generated setup script | |
81 | #------------------------------------------------------------------------- | |
82 | ||
83 | SETUPSCRIPTNAME=$APPDIR/distrib/msw/wxwin2.iss | |
84 | ||
85 | #------------------------------------------------------------------------- | |
86 | # The locations of the readme and license files | |
87 | #------------------------------------------------------------------------- | |
88 | ||
89 | READMEFILE=$APPDIR/docs/readme.txt | |
90 | READMEAFTERFILE=$APPDIR/docs/msw/install.txt | |
91 | LICENSEFILE=$APPDIR/docs/licence.txt | |
92 | ||
93 | #------------------------------------------------------------------------- | |
94 | # The binary to include in the setup | |
95 | #------------------------------------------------------------------------- | |
96 | ||
97 | APPBINARY=$APPDIR/src/ReleaseStable/$APPNAME.exe | |
98 | #APPBINARY=$APPDIR/src/ReleaseDev/$APPNAME.exe | |
99 | ||
100 | #------------------------------------------------------------------------- | |
101 | # The location of the setup compiler | |
102 | #------------------------------------------------------------------------- | |
103 | ||
104 | #SETUPCOMPILER="c:/Program Files/Inno Setup 4/compil32.exe" | |
105 | SETUPCOMPILER="c:/Program Files/Inno Setup 5/compil32.exe" | |
106 | if [ ! $CYGPATH = "" ]; then | |
107 | SETUPCOMPILER=`$CYGPATH "$SETUPCOMPILER"` | |
108 | fi | |
109 | ||
110 | #------------------------------------------------------------------------- | |
111 | # Whether we will compress the binary (0 or 1). | |
112 | # Use --upx or --no-upx to override this default value. | |
113 | #------------------------------------------------------------------------- | |
114 | ||
115 | UPX=0 | |
116 | ||
117 | #------------------------------------------------------------------------- | |
118 | # Whether we will make a manual (0 or 1) | |
119 | # Use --make-manual or --no-make-manual to override this default value. | |
120 | #------------------------------------------------------------------------- | |
121 | ||
122 | MAKEMANUAL=0 | |
123 | ||
124 | #------------------------------------------------------------------------- | |
125 | # The manual filename(s) | |
126 | #------------------------------------------------------------------------- | |
127 | ||
128 | MANUALFILES=wx.chm | |
129 | ||
130 | #------------------------------------------------------------------------- | |
131 | # The directory containing the manual source. We assume | |
132 | # that there is a Makefile in this directory for making the | |
133 | # manual. | |
134 | #------------------------------------------------------------------------- | |
135 | ||
136 | MANUALDIR=$APPDIR/docs | |
137 | ||
138 | #------------------------------------------------------------------------- | |
139 | # The resources file to compile, if any (e.g. myapp.bin). | |
140 | # This is just a zip containing files to be used by the | |
141 | # application, usually stored in src/resources. | |
142 | # | |
143 | # If this is left empty, no resources will be compiled. | |
144 | #------------------------------------------------------------------------- | |
145 | ||
146 | RESOURCESFILE= | |
147 | ||
148 | #------------------------------------------------------------------------- | |
149 | # The directory containing the resources. | |
150 | # | |
151 | # If this is left empty, no resources will be compiled. | |
152 | #------------------------------------------------------------------------- | |
153 | ||
154 | RESOURCESDIR= | |
155 |