/[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 32718 - (show annotations)
Fri Jul 5 15:52:15 2002 UTC (17 years, 7 months ago) by manus
File size: 3244 byte(s)
We only generate two versions: enterprise and free version.

1 #!/bin/sh
2
3 # Clean up the files
4 remtrace Update all source files.
5 cd $EIFFEL_SRC
6 exprt -r $DEFAULT_CVS_TAG -d Eiffel Eiffel
7 exprt -r $DEFAULT_CVS_TAG -d C runtime
8 exprt -r $DEFAULT_CVS_TAG -d dotnet Src/dotnet
9 exprt -r $DEFAULT_CVS_TAG -d C_library Src/C_library
10
11 # These directories should already have been created by make_delivery. Whatever...
12 safe_md $INSTALL_DIR/studio/spec
13 safe_md $INSTALL_DIR/studio/spec/unix
14 safe_md $INSTALL_DIR/studio/spec/unix/bin
15 safe_md $INSTALL_DIR/studio/spec/unix/include
16 safe_md $INSTALL_DIR/studio/spec/unix/lib
17
18 if [ ! "$NO_NEW_EC" ]; then
19 remtrace Recompile EiffelStudio
20 remtrace Enterprise edition
21 if [ ! -d $FINALIZATION_DIR ]; then
22 md $FINALIZATION_DIR
23 fi
24 cd $FINALIZATION_DIR
25 clean_project
26 finalize $NEW_EIFFEL_SRC/Eiffel/Ace/newbench.linux.ace
27 tgz_ccode ec
28 if [ ! -e ec.tar.gz ]; then
29 echo Could not finalize a new EiffelStudio
30 CANCEL
31 fi
32 clean_project
33 move ec.tar.gz $EXPORT_DIR
34
35 if [ "$MULTIPLE_EDITIONS" ]; then
36 remtrace Free version edition
37 cd $EIFFEL_SRC/Eiffel/API/constants
38 sed -e "s/Version_type_name:\ STRING\ is\ \"Enterprise\ Edition\"/Version_type_name:\ STRING\ is\ \"Free\ Edition\"/g" system_constants.e >> new_system_constants.e
39 move new_system_constants.e system_constants.e
40 sed -e "s/has_case:\ BOOLEAN\ is\ True/has_case:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
41 move new_eiffel_env.e eiffel_env.e
42 sed -e "s/has_metrics:\ BOOLEAN\ is\ True/has_metrics:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
43 move new_eiffel_env.e eiffel_env.e
44 sed -e "s/has_profiler:\ BOOLEAN\ is\ True/has_profiler:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
45 move new_eiffel_env.e eiffel_env.e
46 sed -e "s/has_documentation_generation:\ BOOLEAN\ is\ True/has_documentation_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
47 move new_eiffel_env.e eiffel_env.e
48 sed -e "s/has_xmi_generation:\ BOOLEAN\ is\ True/has_xmi_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
49 move new_eiffel_env.e eiffel_env.e
50 sed -e "s/has_dll_generation:\ BOOLEAN\ is\ True/has_dll_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
51 move new_eiffel_env.e eiffel_env.e
52 sed -e "s/\has_signable_generation:\ BOOLEAN\ is\ True/\has_signable_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
53 move new_eiffel_env.e eiffel_env.e
54 cd $EIFFEL_SRC/Eiffel/switch/license/license
55 sed -e "s/Is_free_version:\ BOOLEAN\ is\ False/\Is_free_version:\ BOOLEAN\ is\ True/g" bench_licence.e >> new_bench_license.e
56 move new_bench_license.e bench_licence.e
57 cd $FINALIZATION_DIR
58 clean_project
59 finalize $NEW_EIFFEL_SRC/Eiffel/Ace/newbench.linux.ace
60 tgz_ccode ec
61 if [ ! -e ec.tar.gz ]; then
62 echo Could not finalize a new EiffelStudio
63 CANCEL
64 fi
65 clean_project
66 move ec.tar.gz $EXPORT_DIR/ecfree.tar.gz
67 fi
68 else
69 # FIXME doesn't work.
70 quick_move studio/spec/$ISE_PLATFORM/bin/ec
71 fi
72
73 remtrace Recompile quick_finalize
74 cd $EIFFEL_SRC/Eiffel/extra/quick_c_compilation
75 clean_project
76 finalize Ace.unix
77 tgz_ccode quick_finalize
78 if [ ! -f quick_finalize.tar.gz ]; then
79 echo Could not finalize a new quick_finalize
80 CANCEL
81 fi
82 clean_project
83 move quick_finalize.tar.gz $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