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

Contents of /trunk/Delivery/scripts/unix/make_images

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32718 - (show annotations)
Fri Jul 5 15:52:15 2002 UTC (17 years, 7 months ago) by manus
File size: 2039 byte(s)
We only generate two versions: enterprise and free version.

1 #!/bin/sh
2
3 # Set up the environment
4 . set_aliases
5 LASTTIME=`date +%s`
6 LASTTIME_TOT=`date +%s`
7 OLD_PATH=$PATH
8 INIT_DIR=`pwd`
9 EIFFEL_SRC=$EXPORT_DIR; export EIFFEL_SRC
10 ISE_EIFFEL=$FINAL_INSTALL_DIR; export ISE_EIFFEL
11 INSTALL_DIR=$FINAL_INSTALL_DIR
12
13 echo > $COMPILE_LOG
14
15 if [ -z "$ISE_PLATFORM" ]; then
16 remtrace Couldnt find environment variable ISE_PLATFORM
17 CANCEL
18 fi
19
20 # Check everything's fine
21 if [ ! -d $EXPORT_DIR ]; then
22 remtrace Couldnt find the directory with the tgzs.
23 CANCEL
24 fi
25
26 if [ -e commercial_rt ]; then
27 MULTIPLE_EDITIONS="True"
28 else
29 MULTIPLE_EDITIONS=""
30 fi
31
32 cd $EXPORT_DIR
33
34 if [ ! -e cdrom ]; then
35 mkdir cdrom
36 fi
37
38 if [ ! -f Eiffel51_deliv.tgz ]; then
39 remtrace Saving empty delivery in Eiffel51_deliv.tgz
40 tar -c Eiffel51 | gzip -c > Eiffel51_deliv.tgz
41 fi
42
43 if [ ! -e Eiffel51 ]; then
44 remtrace Extracting current delivery
45 gunzip -c Eiffel51_deliv.tgz | tar -xf -
46 fi
47
48
49 if [ "$MULTIPLE_EDITIONS" ]; then
50 remtrace Preparing Free version
51 cp -r free_rt/* $INSTALL_DIR/studio/spec/$ISE_PLATFORM/lib
52 gunzip -c $EXPORT_DIR/ecs/ec_free.gz > $INSTALL_DIR/studio/spec/$ISE_PLATFORM/bin/ec
53 chmod a+rx $INSTALL_DIR/studio/spec/$ISE_PLATFORM/bin/ec
54 chmod go-w $INSTALL_DIR/studio/spec/$ISE_PLATFORM/bin/ec
55
56 remtrace Building Home CD image
57 mv Eiffel51 cdrom
58 cp cdrom/Eiffel51/INSTALL cdrom
59 make_cd_image Eiffel51_free Eiffel51_free.iso cdrom
60 mv cdrom/Eiffel51 Eiffel51
61 fi
62
63 if [ -f build_deliv.tgz ]; then
64 remtrace copying EiffelBuild delivery
65 cd $INSTALL_DIR
66 gunzip -c $EXPORT_DIR/build_deliv.tgz | tar -xf -
67 cd $EXPORT_DIR
68 fi
69 remtrace Preparing Enterprise version
70 cp -r commercial_rt/* $INSTALL_DIR/studio/spec/$ISE_PLATFORM/lib
71 gunzip -c $EXPORT_DIR/ecs/ec_enterprise.gz > $INSTALL_DIR/studio/spec/$ISE_PLATFORM/bin/ec
72 chmod a+rx $INSTALL_DIR/studio/spec/$ISE_PLATFORM/bin/ec
73 chmod go-w $INSTALL_DIR/studio/spec/$ISE_PLATFORM/bin/ec
74
75 remtrace Building Enterprise CD image
76 mv Eiffel51 cdrom
77 cp cdrom/Eiffel51/INSTALL cdrom
78 make_cd_image Eiffel51_enterprise Eiffel51_enterprise.iso cdrom
79 mv cdrom/Eiffel51 Eiffel51

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23