xref: /aoo41x/main/scp2/source/ooo/scpaction_ooo.scp (revision 022bd5b4)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include "macros.inc"
25
26ScpAction scp_Copy_License_Html
27  #ifdef UNX
28    README_TXT_ALL_LANG(Copy, LICENSE, html);
29    README_TXT_ALL_LANG(Name, LICENSE, html);
30  #else
31    README_TXT_ALL_LANG(Copy, license, html);
32    README_TXT_ALL_LANG(Name, license, html);
33  #endif
34    Styles = (SCPZIP_REPLACE);
35  #ifndef MACOSX
36    Subdir = "licenses";
37  #else
38    Subdir = "LICENSEs";
39  #endif
40End
41
42ScpAction scp_Copy_License_Txt
43  #ifdef UNX
44    README_ALL_LANG(Copy, LICENSE);
45    README_ALL_LANG(Name, LICENSE);
46  #else
47    README_TXT_ALL_LANG(Copy, license, txt);
48    README_TXT_ALL_LANG(Name, license, txt);
49  #endif
50    Styles = (SCPZIP_REPLACE);
51  #ifndef MACOSX
52    Subdir = "licenses";
53  #else
54    Subdir = "LICENSEs";
55  #endif
56End
57
58#ifdef MACOSX
59ScpAction scp_Copy_Thirdpartylicense_Readme_Html
60    Copy = "THIRDPARTYLICENSEREADME.html";
61    Name= "THIRDPARTYLICENSEREADME.html";
62    Subdir = "LICENSEs";
63End
64#endif
65
66ScpAction scp_Copy_Readme_Html
67  #ifdef UNX
68    README_TXT_ALL_LANG(Copy, README, html);
69    README_TXT_ALL_LANG(Name, README, html);
70  #else
71    README_TXT_ALL_LANG(Copy, readme, html);
72    README_TXT_ALL_LANG(Name, readme, html);
73  #endif
74    Styles = (SCPZIP_REPLACE);
75  #ifndef MACOSX
76    Subdir = "readmes";
77  #else
78    Subdir = "READMEs";
79  #endif
80End
81
82ScpAction scp_Copy_Readme_Txt
83  #ifdef UNX
84    README_ALL_LANG(Copy, README);
85    README_ALL_LANG(Name, README);
86  #else
87    README_TXT_ALL_LANG(Copy, readme, txt);
88    README_TXT_ALL_LANG(Name, readme, txt);
89  #endif
90    Styles = (SCPZIP_REPLACE);
91  #ifndef MACOSX
92    Subdir = "readmes";
93  #else
94    Subdir = "READMEs";
95  #endif
96End
97
98#if defined(WNT) && defined(_gcc3)
99ScpAction SCP_COPY_MINGWM10
100    Copy = "mingwm10.dll";
101    Name = "mingwm10.dll";
102End
103#if defined(MINGW_GCCDLL)
104ScpAction SCP_COPY_MINGW_GCCS
105    Copy = MINGW_GCCDLL;
106    Name = MINGW_GCCDLL;
107End
108#endif
109#if defined(MINGW_GXXDLL)
110ScpAction SCP_COPY_MINGW_STDCPP
111    Copy = MINGW_GXXDLL;
112    Name = MINGW_GXXDLL;
113End
114#endif
115#endif
116
117ScpAction scp_Copy_Xpd_Javaloader
118  	Copy = "javaloader.sh";
119    Name = "setup";
120    Styles = (XPD_ONLY);
121    UnixRights = 775;
122End
123
124ScpAction scp_Copy_Xpd_Javajarfile
125  	Copy = "JavaSetup.jar";
126    Name = "JavaSetup.jar";
127    Styles = (XPD_ONLY);
128End
129
130// #ifdef SOLARIS
131// ScpAction scp_Copy_Xpd_Getuidso
132//     Copy = "getuid.so";
133//     Name = "getuid.so";
134//     Styles = (XPD_ONLY);
135//     Subdir = "installdata/getuid";
136// End
137// #endif
138
139// Setup image
140ScpAction scp_Copy_Xpd_Gif_Setup
141  	Copy = "Setup.gif";
142    Name = "Setup.gif";
143    Styles = (XPD_ONLY);
144    Subdir = "installdata/images";
145End
146
147// Setup license file
148ScpAction scp_Copy_Xpd_Html_License
149    README_TXT_ALL_LANG(Copy, LICENSE, html);
150    README_TXT_ALL_LANG(Name, LICENSE, html);
151    Styles = (XPD_ONLY);
152    Subdir = "installdata/html";
153End
154
155ScpAction scp_Copy_Xpd_Html_License_En_Us
156  	Copy = "LICENSE_en-US.html";
157    Name = "LICENSE.html";
158    Styles = (XPD_ONLY);
159    Subdir = "installdata/html";
160End
161
162// Setup help files
163
164ScpAction scp_Copy_Xpd_Help_Html_Acceptlicense
165    README_TXT_ALL_LANG(Copy, AcceptLicense, html);
166    README_TXT_ALL_LANG(Name, AcceptLicense, html);
167    Styles = (XPD_ONLY);
168    Subdir = "installdata/html";
169End
170
171ScpAction scp_Copy_Xpd_Help_Html_Acceptlicense_En_Us
172    Copy = "AcceptLicense_en-US.html";
173    Name = "AcceptLicense.html";
174    Styles = (XPD_ONLY);
175    Subdir = "installdata/html";
176End
177
178ScpAction scp_Copy_Xpd_Help_Html_Choosecomponents
179    README_TXT_ALL_LANG(Copy, ChooseComponents, html);
180    README_TXT_ALL_LANG(Name, ChooseComponents, html);
181    Styles = (XPD_ONLY);
182    Subdir = "installdata/html";
183End
184
185ScpAction scp_Copy_Xpd_Help_Html_Choosecomponents_En_Us
186    Copy = "ChooseComponents_en-US.html";
187    Name = "ChooseComponents.html";
188    Styles = (XPD_ONLY);
189    Subdir = "installdata/html";
190End
191
192ScpAction scp_Copy_Xpd_Help_Html_Choosedirectory
193    README_TXT_ALL_LANG(Copy, ChooseDirectory, html);
194    README_TXT_ALL_LANG(Name, ChooseDirectory, html);
195    Styles = (XPD_ONLY);
196    Subdir = "installdata/html";
197End
198
199ScpAction scp_Copy_Xpd_Help_Html_Choosedirectory_En_Us
200    Copy = "ChooseDirectory_en-US.html";
201    Name = "ChooseDirectory.html";
202    Styles = (XPD_ONLY);
203    Subdir = "installdata/html";
204End
205
206ScpAction scp_Copy_Xpd_Help_Html_Chooseinstallationtype
207    README_TXT_ALL_LANG(Copy, ChooseInstallationType, html);
208    README_TXT_ALL_LANG(Name, ChooseInstallationType, html);
209    Styles = (XPD_ONLY);
210    Subdir = "installdata/html";
211End
212
213ScpAction scp_Copy_Xpd_Help_Html_Chooseinstallationtype_En_Us
214    Copy = "ChooseInstallationType_en-US.html";
215    Name = "ChooseInstallationType.html";
216    Styles = (XPD_ONLY);
217    Subdir = "installdata/html";
218End
219
220// ScpAction scp_Copy_Xpd_Help_Html_Chooselanguage
221//    README_TXT_ALL_LANG(Copy, ChooseLanguage, html);
222//    README_TXT_ALL_LANG(Name, ChooseLanguage, html);
223//    Styles = (XPD_ONLY);
224//    Subdir = "installdata/html";
225// End
226
227// ScpAction scp_Copy_Xpd_Help_Html_Chooselanguage_En_Us
228//    Copy = "ChooseLanguage_en-US.html";
229//    Name = "ChooseLanguage.html";
230//    Styles = (XPD_ONLY);
231//    Subdir = "installdata/html";
232// End
233
234ScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationcomponents
235    README_TXT_ALL_LANG(Copy, ChooseUninstallationComponents, html);
236    README_TXT_ALL_LANG(Name, ChooseUninstallationComponents, html);
237    Styles = (XPD_ONLY);
238    Subdir = "installdata/html";
239End
240
241ScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationcomponents_En_Us
242    Copy = "ChooseUninstallationComponents_en-US.html";
243    Name = "ChooseUninstallationComponents.html";
244    Styles = (XPD_ONLY);
245    Subdir = "installdata/html";
246End
247
248ScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationtype
249    README_TXT_ALL_LANG(Copy, ChooseUninstallationType, html);
250    README_TXT_ALL_LANG(Name, ChooseUninstallationType, html);
251    Styles = (XPD_ONLY);
252    Subdir = "installdata/html";
253End
254
255ScpAction scp_Copy_Xpd_Help_Html_Chooseuninstallationtype_En_Us
256    Copy = "ChooseUninstallationType_en-US.html";
257    Name = "ChooseUninstallationType.html";
258    Styles = (XPD_ONLY);
259    Subdir = "installdata/html";
260End
261
262ScpAction scp_Copy_Xpd_Help_Html_Installationimminent
263    README_TXT_ALL_LANG(Copy, InstallationImminent, html);
264    README_TXT_ALL_LANG(Name, InstallationImminent, html);
265    Styles = (XPD_ONLY);
266    Subdir = "installdata/html";
267End
268
269ScpAction scp_Copy_Xpd_Help_Html_Installationimminent_En_Us
270    Copy = "InstallationImminent_en-US.html";
271    Name = "InstallationImminent.html";
272    Styles = (XPD_ONLY);
273    Subdir = "installdata/html";
274End
275
276ScpAction scp_Copy_Xpd_Help_Html_Installationongoing
277    README_TXT_ALL_LANG(Copy, InstallationOngoing, html);
278    README_TXT_ALL_LANG(Name, InstallationOngoing, html);
279    Styles = (XPD_ONLY);
280    Subdir = "installdata/html";
281End
282
283ScpAction scp_Copy_Xpd_Help_Html_Installationongoing_En_Us
284    Copy = "InstallationOngoing_en-US.html";
285    Name = "InstallationOngoing.html";
286    Styles = (XPD_ONLY);
287    Subdir = "installdata/html";
288End
289
290ScpAction scp_Copy_Xpd_Help_Html_Prologue
291    README_TXT_ALL_LANG(Copy, Prologue, html);
292    README_TXT_ALL_LANG(Name, Prologue, html);
293    Styles = (XPD_ONLY);
294    Subdir = "installdata/html";
295End
296
297ScpAction scp_Copy_Xpd_Help_Html_Prologue_En_Us
298    Copy = "Prologue_en-US.html";
299    Name = "Prologue.html";
300    Styles = (XPD_ONLY);
301    Subdir = "installdata/html";
302End
303
304ScpAction scp_Copy_Xpd_Help_Html_Uninstallationimminent
305    README_TXT_ALL_LANG(Copy, UninstallationImminent, html);
306    README_TXT_ALL_LANG(Name, UninstallationImminent, html);
307    Styles = (XPD_ONLY);
308    Subdir = "installdata/html";
309End
310
311ScpAction scp_Copy_Xpd_Help_Html_Uninstallationimminent_En_Us
312    Copy = "UninstallationImminent_en-US.html";
313    Name = "UninstallationImminent.html";
314    Styles = (XPD_ONLY);
315    Subdir = "installdata/html";
316End
317
318ScpAction scp_Copy_Xpd_Help_Html_Uninstallationongoing
319    README_TXT_ALL_LANG(Copy, UninstallationOngoing, html);
320    README_TXT_ALL_LANG(Name, UninstallationOngoing, html);
321    Styles = (XPD_ONLY);
322    Subdir = "installdata/html";
323End
324
325ScpAction scp_Copy_Xpd_Help_Html_Uninstallationongoing_En_Us
326    Copy = "UninstallationOngoing_en-US.html";
327    Name = "UninstallationOngoing.html";
328    Styles = (XPD_ONLY);
329    Subdir = "installdata/html";
330End
331
332ScpAction scp_Copy_Xpd_Help_Html_Uninstallationprologue
333    README_TXT_ALL_LANG(Copy, UninstallationPrologue, html);
334    README_TXT_ALL_LANG(Name, UninstallationPrologue, html);
335    Styles = (XPD_ONLY);
336    Subdir = "installdata/html";
337End
338
339ScpAction scp_Copy_Xpd_Help_Html_Uninstallationprologue_En_Us
340    Copy = "UninstallationPrologue_en-US.html";
341    Name = "UninstallationPrologue.html";
342    Styles = (XPD_ONLY);
343    Subdir = "installdata/html";
344End
345
346#ifdef MACOSX
347ScpAction scp_Copy_Dmg_Background_Image
348  #if defined(BUILD_SPECIAL)
349    Copy = "osxdndinstall.png";
350  #else
351    Copy = "osxdndinstall_nologo.png";
352  #endif
353    Name = "background.png";
354    UnixRights = 444;
355    Styles = ();
356    Subdir = ".background";
357End
358
359ScpAction scp_Copy_Ds_Store
360    Copy = "DS_Store";
361    DevCopy = "DS_Store_Dev";
362    LangPackCopy = "DS_Store_Langpack";
363    PatchCopy = "DS_Store_Patch";
364    Name = ".DS_Store";
365    UnixRights = 444;
366    Styles = (FORCELANGUAGEPACK);
367End
368#endif
369