/[eiffelstudio]/trunk/Delivery/scripts/unix/make_exes
ViewVC logotype

Contents of /trunk/Delivery/scripts/unix/make_exes

Parent Directory Parent Directory | Revision Log Revision Log


Revision 73838 - (show annotations)
Sun Jun 15 05:12:18 2008 UTC (11 years, 8 months ago) by manus
File size: 7238 byte(s)
Updated to new target eweasel target "eweasel-st".

1 #!/bin/sh
2
3 # Setup environment
4 INIT_DIR=`pwd`
5
6 # These directories should already have been created by make_delivery. Whatever...
7 safe_md $INSTALL_DIR/studio/spec
8 safe_md $INSTALL_DIR/studio/spec/unix
9 safe_md $INSTALL_DIR/studio/spec/unix/bin
10 safe_md $INSTALL_DIR/studio/spec/unix/include
11 safe_md $INSTALL_DIR/studio/spec/unix/lib
12 safe_md $INSTALL_DIR/esbuilder/spec
13 safe_md $INSTALL_DIR/esbuilder/spec/unix
14 safe_md $INSTALL_DIR/esbuilder/spec/unix/bin
15
16 remtrace Getting eweasel source code
17 cd $EIFFEL_SRC
18 safe_md $EIFFEL_SRC/eweasel
19 co -r $ORIGO_SVN_REVISION $DEFAULT_ORIGO_SVN/eweasel/compilation $EIFFEL_SRC/eweasel/compilation
20 co -r $ORIGO_SVN_REVISION $DEFAULT_ORIGO_SVN/eweasel/source $EIFFEL_SRC/eweasel/source
21 remtrace Compiling eweasel
22 safe_md $INSTALL_DIR/eweasel
23 safe_md $INSTALL_DIR/eweasel/spec
24 safe_md $INSTALL_DIR/eweasel/spec/unix
25 safe_md $INSTALL_DIR/eweasel/spec/unix/bin
26 EWEASEL=$EIFFEL_SRC/eweasel
27 export EWEASEL
28 cd $EIFFEL_SRC/eweasel/compilation
29 clean_project
30 finalize eweasel.ecf eweasel-st
31 tgz_ccode eweasel-st eweasel.tar.bz2
32 if [ ! -f eweasel.tar.bz2 ]; then
33 echo Could not finalize eweasel
34 CANCEL
35 fi
36 clean_project
37 safe_md $EXPORT_DIR/eweasel
38 move eweasel.tar.bz2 $EXPORT_DIR/eweasel
39 cd $EIFFEL_SRC/eweasel
40 tgz source
41 move source.tar.bz2 $EXPORT_DIR/eweasel
42
43 remtrace Recompile Vision2 Tour
44 cd $EIFFEL_SRC
45 exprt -r $ORIGO_SVN_REVISION $DEFAULT_ORIGO_SVN/Src/examples/vision2/widget_test vision2_demo
46 cd $EIFFEL_SRC/vision2_demo
47 safe_md $EXPORT_DIR/vision2_demo
48 . ./retrieve_build_files -r $ORIGO_SVN_REVISION $DEFAULT_ORIGO_SVN >> $INSTALL_LOG 2>&1
49 . ./retrieve_flat_short >> $INSTALL_LOG 2>&1
50 cd $EIFFEL_SRC/vision2_demo
51 clean_project
52 finalize vision2_demo.ecf vision2_demo
53 tgz_ccode vision2_demo vision2_demo.tar.bz2
54 if [ ! -f vision2_demo.tar.bz2 ]; then
55 echo Could not finalize a new Vision2 tour
56 CANCEL
57 fi
58 clean_project
59 move $EIFFEL_SRC/vision2_demo/flatshort $INSTALL_DIR/vision2_demo
60 move $EIFFEL_SRC/vision2_demo/tests $INSTALL_DIR/vision2_demo
61 move $EIFFEL_SRC/vision2_demo/bitmaps/png/*.png $INSTALL_DIR/vision2_demo/bitmaps/png
62 move vision2_demo.tar.bz2 $EXPORT_DIR/vision2_demo
63
64
65 remtrace Recompile EiffelBuild
66 cd $EIFFEL_SRC/build/Constants
67 . $INIT_DIR/set_version.sh $EIFFEL_SRC 0000 gb_about_dialog_constants.e
68 cd $EIFFEL_SRC/build
69 remtrace Enterprise Build
70 clean_project
71 finalize esbuilder.ecf esbuilder
72 tgz_ccode esbuilder esbuilder.tar.bz2
73 if [ ! -f esbuilder.tar.bz2 ]; then
74 echo Could not finalize a new EiffelBuild
75 CANCEL
76 fi
77 clean_project
78 safe_md $EXPORT_DIR/esbuilder
79 move esbuilder.tar.bz2 $EXPORT_DIR/esbuilder
80
81 if [ ! "$NO_NEW_EC" ]; then
82 remtrace Recompile EiffelStudio
83 remtrace GPL edition
84 if [ ! -d $FINALIZATION_DIR ]; then
85 md $FINALIZATION_DIR
86 fi
87 cd $EIFFEL_SRC/Eiffel/API/constants
88 . $INIT_DIR/set_version.sh $EIFFEL_SRC 0000 system_constants.e
89 cd $FINALIZATION_DIR
90 copy $EIFFEL_SRC/Eiffel/Ace/ec.ecf ec.ecf
91 clean_project
92 finalize ec.ecf bench
93 tgz_ccode bench ec.tar.bz2
94 if [ ! -f ec.tar.bz2 ]; then
95 echo Could not finalize a new EiffelStudio
96 CANCEL
97 fi
98 clean_project
99 move ec.tar.bz2 $EXPORT_DIR/ec_gpl.tar.bz2
100
101 remtrace Batch version
102 clean_project
103 finalize ec.ecf batch
104 tgz_ccode batch ecb.tar.bz2
105 if [ ! -f ecb.tar.bz2 ]; then
106 echo Could not finalize a new batch version
107 CANCEL
108 fi
109 clean_project
110 move ecb.tar.bz2 $EXPORT_DIR/ecb_gpl.tar.bz2
111
112 if [ "$MULTIPLE_EDITIONS" ]; then
113 remtrace Enterprise version edition
114 cd $FINALIZATION_DIR
115 cd $EIFFEL_SRC/Eiffel/API/constants
116 sed -e "s/Version_type_name:\ STRING\ is\ \"GPL\ Edition\"/Version_type_name:\ STRING\ is\ \"Enterprise\ Edition\"/g" system_constants.e >> new_system_constants.e
117 move new_system_constants.e system_constants.e
118 cd $FINALIZATION_DIR
119 copy $EIFFEL_SRC/tools/estudio_enterprise/ec.ecf ec.ecf
120 clean_project
121 finalize ec.ecf bench
122 tgz_ccode bench ec.tar.bz2
123 if [ ! -f ec.tar.bz2 ]; then
124 echo Could not finalize a new EiffelStudio
125 CANCEL
126 fi
127 clean_project
128 move ec.tar.bz2 $EXPORT_DIR/ec_ent.tar.bz2
129
130 remtrace Batch version
131 clean_project
132 finalize ec.ecf batch
133 tgz_ccode batch ecb.tar.bz2
134 if [ ! -f ecb.tar.bz2 ]; then
135 echo Could not finalize a new batch version
136 CANCEL
137 fi
138 clean_project
139 move ecb.tar.bz2 $EXPORT_DIR/ecb_ent.tar.bz2
140 fi
141 else
142 # FIXME doesn't work.
143 quick_move studio/spec/$ISE_PLATFORM/bin/ec
144 fi
145
146 remtrace Recompile quick_finalize
147 cd $EIFFEL_SRC/tools/quick_finalize
148 clean_project
149 finalize quick_finalize.ecf quick_finalize
150 tgz_ccode quick_finalize quick_finalize.tar.bz2
151 if [ ! -f quick_finalize.tar.bz2 ]; then
152 echo Could not finalize a new quick_finalize
153 CANCEL
154 fi
155 clean_project
156 move quick_finalize.tar.bz2 $EXPORT_DIR
157
158 if [ "$MULTIPLE_EDITIONS" ]; then
159 remtrace Compiling CD key validator
160 cd $EIFFEL_SRC/tools
161 exprt $DEFAULT_ISE_SVN/Src/tools/cd_key_validator cd_key_validator
162 if [ -d cd_key_validator ]; then
163 cd cd_key_validator/eiffel_studio_52
164 clean_project
165 finalize setup.ecf setup
166 tgz_ccode setup setup.tar.bz2
167 if [ ! -f setup.tar.bz2 ]; then
168 echo Could not finalize a new setup
169 else
170 move setup.tar.bz2 $EXPORT_DIR
171 fi
172 clean_project
173 fi
174 fi
175
176 remtrace Recompile estudio
177 cd $EIFFEL_SRC/tools/estudio/config
178 clean_project
179 finalize estudio.ecf estudio
180 tgz_ccode estudio estudio.tar.bz2
181 if [ ! -f estudio.tar.bz2 ]; then
182 echo Could not finalize a new estudio
183 CANCEL
184 fi
185 clean_project
186 move estudio.tar.bz2 $EXPORT_DIR
187
188 remtrace Compiling Gobo tools
189 cd $EIFFEL_SRC/library/gobo/src
190 clean_project
191 remtrace geant
192 finalize geant.ecf geant
193 tgz_ccode geant geant.tar.bz2
194 if [ ! -f geant.tar.bz2 ]; then
195 echo Could not finalize a new geant
196 CANCEL
197 fi
198 clean_project
199 move geant.tar.bz2 $EXPORT_DIR
200
201 remtrace gec
202 finalize gec.ecf gec
203 tgz_ccode gec gec.tar.bz2
204 if [ ! -f gec.tar.bz2 ]; then
205 echo Could not finalize a new gec
206 CANCEL
207 fi
208 clean_project
209 move gec.tar.bz2 $EXPORT_DIR
210
211 remtrace gelex
212 finalize gelex.ecf gelex
213 tgz_ccode gelex gelex.tar.bz2
214 if [ ! -f gelex.tar.bz2 ]; then
215 echo Could not finalize a new gelex
216 CANCEL
217 fi
218 clean_project
219 move gelex.tar.bz2 $EXPORT_DIR
220
221 remtrace gelint
222 finalize gelint.ecf gelint
223 tgz_ccode gelint gelint.tar.bz2
224 if [ ! -f gelint.tar.bz2 ]; then
225 echo Could not finalize a new gelint
226 CANCEL
227 fi
228 clean_project
229 move gelint.tar.bz2 $EXPORT_DIR
230
231 remtrace gepp
232 finalize gepp.ecf gepp
233 tgz_ccode gepp gepp.tar.bz2
234 if [ ! -f gepp.tar.bz2 ]; then
235 echo Could not finalize a new gepp
236 CANCEL
237 fi
238 clean_project
239 move gepp.tar.bz2 $EXPORT_DIR
240
241 remtrace getest
242 finalize getest.ecf getest
243 tgz_ccode getest getest.tar.bz2
244 if [ ! -f getest.tar.bz2 ]; then
245 echo Could not finalize a new getest
246 CANCEL
247 fi
248 clean_project
249 move getest.tar.bz2 $EXPORT_DIR
250
251 remtrace gexace
252 finalize gexace.ecf gexace
253 tgz_ccode gexace gexace.tar.bz2
254 if [ ! -f gexace.tar.bz2 ]; then
255 echo Could not finalize a new gexace
256 CANCEL
257 fi
258 clean_project
259 move gexace.tar.bz2 $EXPORT_DIR
260
261 remtrace gexslt
262 finalize gexslt.ecf gexslt
263 tgz_ccode gexslt gexslt.tar.bz2
264 if [ ! -f gexslt.tar.bz2 ]; then
265 echo Could not finalize a new gexslt
266 CANCEL
267 fi
268 clean_project
269 move gexslt.tar.bz2 $EXPORT_DIR
270
271 remtrace geyacc
272 finalize geyacc.ecf geyacc
273 tgz_ccode geyacc geyacc.tar.bz2
274 if [ ! -f geyacc.tar.bz2 ]; then
275 echo Could not finalize a new geyacc
276 CANCEL
277 fi
278 clean_project
279 move geyacc.tar.bz2 $EXPORT_DIR

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23