/[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 60750 - (show annotations)
Thu Jun 29 00:17:25 2006 UTC (13 years, 6 months ago) by manus
File size: 2182 byte(s)
Store revision number as part of the package.

1 #!/bin/sh
2
3 # Set up the environment
4 . set_aliases
5 OLD_PATH=$PATH
6 INIT_DIR=`pwd`
7 EIFFEL_SRC=$EXPORT_DIR; export EIFFEL_SRC
8 ISE_EIFFEL=$FINAL_INSTALL_DIR; export ISE_EIFFEL
9 INSTALL_DIR=$FINAL_INSTALL_DIR
10
11 echo > $COMPILE_LOG
12
13 if [ -z "$ISE_PLATFORM" ]; then
14 remtrace Couldnt find environment variable ISE_PLATFORM
15 CANCEL
16 fi
17
18 # Check everything's fine
19 if [ ! -d $EXPORT_DIR ]; then
20 remtrace Couldnt find the directory with the tgzs.
21 CANCEL
22 fi
23
24 if [ -f ec_ent.gz ]; then
25 MULTIPLE_EDITIONS="True"
26 else
27 MULTIPLE_EDITIONS=""
28 fi
29
30 cd $EXPORT_DIR
31
32 if [ ! -d cdrom ]; then
33 mkdir cdrom
34 fi
35
36 if [ ! -f Eiffel57_deliv.tgz ]; then
37 remtrace Saving empty delivery in Eiffel57_deliv.tgz
38 tar czf Eiffel57_deliv.tgz Eiffel57
39 fi
40
41 if [ ! -d Eiffel57 ]; then
42 remtrace Extracting current delivery
43 gunzip -c Eiffel57_deliv.tgz | tar -xf -
44 fi
45
46
47 # Copy runtime files
48 cp -r runtimes/* $INSTALL_DIR/studio/spec/$ISE_PLATFORM/lib
49
50 if [ "$MULTIPLE_EDITIONS" ]; then
51 remtrace Preparing Enterprise version
52 gunzip -c $EXPORT_DIR/ecs/ec_ent.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 copying CD key validator
57 move setup $INSTALL_DIR/register
58 chmod a+rx $INSTALL_DIR/register
59 mkdir $INSTALL_DIR/setup
60 cp $INSTALL_DIR/studio/bitmaps/png/logo.png $INSTALL_DIR/setup/install_logo.png
61 cp $INSTALL_DIR/studio/bitmaps/png/activation.png $INSTALL_DIR/setup/install_left.png
62
63 remtrace Building Enterprise CD image
64 mv Eiffel57 cdrom
65 make_cd_image Eiffel57_enterprise Eiffel57_enterprise.iso cdrom
66 gzip Eiffel57_enterprise.iso
67 mv cdrom/Eiffel57 Eiffel57
68 tar czf Eiffel57_enterprise_$SVN_VERSION-$ISE_PLATFORM.tgz Eiffel57
69 fi
70
71 remtrace Preparing GPL version
72 gunzip -c $EXPORT_DIR/ecs/ec_gpl.gz > $INSTALL_DIR/studio/spec/$ISE_PLATFORM/bin/ec
73 chmod a+rx $INSTALL_DIR/studio/spec/$ISE_PLATFORM/bin/ec
74 chmod go-w $INSTALL_DIR/studio/spec/$ISE_PLATFORM/bin/ec
75
76 remtrace Building GPL CD image
77 mv Eiffel57 cdrom
78 make_cd_image Eiffel57_gpl Eiffel57_gpl.iso cdrom
79 gzip Eiffel57_gpl.iso
80 mv cdrom/Eiffel57 Eiffel57
81 tar czf Eiffel57_gpl_$SVN_VERSION-$ISE_PLATFORM.tgz Eiffel57

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23