Prepare,feb 2.18 KB
Newer Older
1 2 3 4
| >Prepare
| Copyright  2011, RISC OS Open Ltd.
| All rights reserved.
|
5 6 7
Set ROOLMerge$Q1 "%0"
Set ROOLMerge$Q2 "%1"
Set ROOLMerge$Q3 "%2"
8
|Print <ROOLMerge$Dir>.Resources.UK.Intro
9
|If "<ROOLMerge$Q1>" = "" Then Run <ROOLMerge$Dir>.Resources.Query Else SetEval ROOLMerge$Query -("<ROOLMerge$Q1>"="y")
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|If ROOLMerge$Query = 0 Then Echo Preparation cancelled. You may close this window now.
|If ROOLMerge$Query = 0 Then Obey
|Echo
|Echo (Re)initialising primary build components...
|Set Alias$ROOLCopy Echo|MEcho %%0.%%1:|Mx wipe ROOLMerge:%%1 ~cfr~v|MRun <ROOLMerge$Dir>.Resources.UpCall6|MCopy ROOLMerge:%%0.%%1 ROOLMerge:%%1 ~cfr~v|MRun <ROOLMerge$Dir>.Resources.UpCall6
|CDir ROOLMerge:Apps
|x Wipe ROOLMerge:Images  ~cfr~v
|x Wipe ROOLMerge:Install ~cfr~v
|Run <ROOLMerge$Dir>.PCopy mixed.RiscOS  Library
|Run <ROOLMerge$Dir>.PCopy mixed.RiscOS  Modules
|Run <ROOLMerge$Dir>.PCopy apache.RiscOS Env
|Run <ROOLMerge$Dir>.PCopy apache.RiscOS BuildSys
|Run <ROOLMerge$Dir>.PCopy apache.RiscOS Export
|Run <ROOLMerge$Dir>.PCopy apache.RiscOS Apps.!Builder
|Run <ROOLMerge$Dir>.PCopy apache.RiscOS Apps.!EraseCVS
|Run <ROOLMerge$Dir>.PCopy apache.RiscOS Apps.!WinEdit
|Run <ROOLMerge$Dir>.PCopy gpl.RiscOS    Apps.!Perl
|Run <ROOLMerge$Dir>.PCopy gpl.RiscOS    Apps.!gcc2_95_4
|Unset ROOLCopy
|Unset ROOLMerge$Path
Print <ROOLMerge$Dir>.Resources.UK.Tools1
If "<SetPaths32$Dir>" = "" Then Echo WARNING: It doesn't look like the filer has 'seen' your C/C++ installation yet.
Print <ROOLMerge$Dir>.Resources.UK.Tools2
33
If "<ROOLMerge$Q2>" = "" Then Run <ROOLMerge$Dir>.Resources.Query Else SetEval ROOLMerge$Query -("<ROOLMerge$Q2>"="y")
34 35 36 37
If ROOLMerge$Query = 0 Then Echo Build tools not installed. You may close this window now.
If ROOLMerge$Query = 0 Then Obey
Obey <ROOLMerge$Dir>.^.^.Library.InstallTools
Print <ROOLMerge$Dir>.Resources.UK.Finish
38
If "<ROOLMerge$Q3>" = "" Then Run <ROOLMerge$Dir>.Resources.Query Else SetEval ROOLMerge$Query -("<ROOLMerge$Q3>"="y")
39 40 41 42 43
RMEnsure UtilityModule 4.00 SetEval ROOLMerge$Query <ROOLMerge$Query> * 2
If ROOLMerge$Query = 1 Then StartDesktopTask Run <ROOLMerge$Dir>.^.!Builder.!Run
If ROOLMerge$Query = 2 Then Filer_Run <ROOLMerge$Dir>.^.!Builder.!Run
Echo
Echo You may close this window now.