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

Diff of /trunk/Delivery/scripts/unix/make_exes

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 32717 by manus, Tue Nov 13 21:33:03 2001 UTC revision 32718 by manus, Fri Jul 5 15:52:15 2002 UTC
# Line 5  remtrace Update all source files. Line 5  remtrace Update all source files.
5  cd $EIFFEL_SRC  cd $EIFFEL_SRC
6  exprt -r $DEFAULT_CVS_TAG -d Eiffel Eiffel  exprt -r $DEFAULT_CVS_TAG -d Eiffel Eiffel
7  exprt -r $DEFAULT_CVS_TAG -d C runtime  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  exprt -r $DEFAULT_CVS_TAG -d C_library Src/C_library
10    
11  # These directories should already have been created by make_delivery. Whatever...  # These directories should already have been created by make_delivery. Whatever...
# Line 32  if [ ! "$NO_NEW_EC" ]; then Line 33  if [ ! "$NO_NEW_EC" ]; then
33          move ec.tar.gz $EXPORT_DIR          move ec.tar.gz $EXPORT_DIR
34    
35          if [ "$MULTIPLE_EDITIONS" ]; then          if [ "$MULTIPLE_EDITIONS" ]; then
36     remtrace Student edition                  remtrace Free version edition
37          cd $EIFFEL_SRC/Eiffel/API/constants                  cd $EIFFEL_SRC/Eiffel/API/constants
38     sed -e "s/has_metrics:\ BOOLEAN\ is\ True/has_metrics:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e                  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_eiffel_env.e eiffel_env.e                  move new_system_constants.e system_constants.e
40     sed -e "s/has_documentation_generation:\ BOOLEAN\ is\ True/has_documentation_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e                  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                  move new_eiffel_env.e eiffel_env.e
42     sed -e "s/has_profiler:\ BOOLEAN\ is\ True/has_profiler:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e                  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                  move new_eiffel_env.e eiffel_env.e
44     sed -e "s/has_xmi_generation:\ BOOLEAN\ is\ True/has_xmi_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e                  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                  move new_eiffel_env.e eiffel_env.e
46     sed -e "s/has_dll_generation:\ BOOLEAN\ is\ True/has_dll_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e                  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                                                                move new_eiffel_env.e eiffel_env.e
48          cd $EIFFEL_SRC/Eiffel/switch/license/license                  sed -e "s/has_xmi_generation:\ BOOLEAN\ is\ True/has_xmi_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
49          sed -e "s/Studio_unix_enterprise_key_51/studio_unix_student_key_51/g" bench_licence.e >> new_bench_license.e                  move new_eiffel_env.e eiffel_env.e
50          move new_bench_license.e bench_licence.e                  sed -e "s/has_dll_generation:\ BOOLEAN\ is\ True/has_dll_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
51     cd $FINALIZATION_DIR                  move new_eiffel_env.e eiffel_env.e
52     clean_project                  sed -e "s/\has_signable_generation:\ BOOLEAN\ is\ True/\has_signable_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
53     finalize $NEW_EIFFEL_SRC/Eiffel/Ace/newbench.linux.ace                  move new_eiffel_env.e eiffel_env.e
54     tgz_ccode ec                  cd $EIFFEL_SRC/Eiffel/switch/license/license
55     if [ ! -e ec.tar.gz ]; then                  sed -e "s/Is_free_version:\ BOOLEAN\ is\ False/\Is_free_version:\ BOOLEAN\ is\ True/g" bench_licence.e >> new_bench_license.e
56        echo Could not finalize a new EiffelStudio                  move new_bench_license.e bench_licence.e
57        CANCEL                  cd $FINALIZATION_DIR
58     fi                  clean_project
59     clean_project                  finalize $NEW_EIFFEL_SRC/Eiffel/Ace/newbench.linux.ace
60     move ec.tar.gz $EXPORT_DIR/ecstudent.tar.gz                  tgz_ccode ec
61                    if [ ! -e ec.tar.gz ]; then
62          remtrace Home edition                          echo Could not finalize a new EiffelStudio
63          cd $EIFFEL_SRC/Eiffel/API/constants                          CANCEL
64     sed -e "s/has_case:\ BOOLEAN\ is\ True/has_case:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e                  fi
65     move new_eiffel_env.e eiffel_env.e                  clean_project
66          cd $EIFFEL_SRC/Eiffel/switch/license/license                  move ec.tar.gz $EXPORT_DIR/ecfree.tar.gz
         sed -e "s/studio_unix_student_key_51/studio_unix_home_key_51/g" bench_licence.e >> new_bench_license.e  
         move new_bench_license.e bench_licence.e  
         cd $FINALIZATION_DIR  
    clean_project  
    finalize $NEW_EIFFEL_SRC/Eiffel/Ace/newbench.linux.ace  
    tgz_ccode ec  
    if [ ! -e ec.tar.gz ]; then  
       echo Could not finalize a new EiffelStudio  
       CANCEL  
    fi  
    clean_project  
    move ec.tar.gz $EXPORT_DIR/echome.tar.gz  
   
    remtrace Professional edition  
    cd $EIFFEL_SRC/Eiffel/API/constants  
    sed -e "s/has_documentation_generation:\ BOOLEAN\ is\ False/has_documentation_generation:\ BOOLEAN\ is\ True/g" eiffel_env.e >> new_eiffel_env.e  
    move new_eiffel_env.e eiffel_env.e  
    sed -e "s/has_dll_generation:\ BOOLEAN\ is\ False/has_dll_generation:\ BOOLEAN\ is\ True/g" eiffel_env.e >> new_eiffel_env.e  
    move new_eiffel_env.e eiffel_env.e  
         cd $EIFFEL_SRC/Eiffel/switch/license/license  
         sed -e "s/studio_unix_home_key_51/studio_unix_professional_key_51/g" bench_licence.e >> new_bench_license.e  
         move new_bench_license.e bench_licence.e  
    cd $FINALIZATION_DIR  
    clean_project  
    finalize $NEW_EIFFEL_SRC/Eiffel/Ace/newbench.linux.ace  
    tgz_ccode ec  
    if [ ! -e ec.tar.gz ]; then  
       echo Could not finalize a new EiffelStudio  
       CANCEL  
    fi  
    clean_project  
    move ec.tar.gz $EXPORT_DIR/ecpro.tar.gz  
67          fi          fi
68  else  else
69          # FIXME doesn't work.          # FIXME doesn't work.
# Line 112  if [ ! -f quick_finalize.tar.gz ]; then Line 81  if [ ! -f quick_finalize.tar.gz ]; then
81  fi  fi
82  clean_project  clean_project
83  move quick_finalize.tar.gz $EXPORT_DIR  move quick_finalize.tar.gz $EXPORT_DIR
   
   

Legend:
Removed from v.32717  
changed lines
  Added in v.32718

  ViewVC Help
Powered by ViewVC 1.1.23