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