1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "macros.inc"
Installation gid_Installation_Test
ProductName = "${PRODUCTNAME}";
ProductVersion = "${PRODUCTVERSION}";
ProductExtension = "${PRODUCTEXTENSION}";
#if defined WNT
DefaultDestPath = "<winprogpath>\%PRODUCTNAME";
#else
DefaultDestPath = "/opt/%PRODUCTNAME";
#endif
End
Module gid_Module_Root_Smoketest
Name = "smoketest";
Description = "smoketest";
PackageInfo = "packinfo_test.txt";
End
#ifndef MACOSX
Directory gid_Test_Dir_Brand_Root
ParentID = PREDEFINED_PROGDIR;
#ifdef WNT
HostName = "${PRODUCTNAME} ${BRANDPACKAGEVERSION}";
#else
HostName = ".";
#endif
Styles = (OFFICEDIRECTORY,ISINSTALLLOCATION,CREATE);
End
#endif
#if MACOSX
Directory gid_Test_Dir_Bundle
ParentID = PD_PROGDIR;
HostName = "%PRODUCTNAME.app";
LangPackHostName = "%PRODUCTNAME Language Pack.app";
End
Directory gid_Test_Dir_Bundle_Contents
ParentID = gid_Test_Dir_Bundle;
HostName = "Contents";
Styles = (OFFICEDIRECTORY);
End
#endif
Directory gid_Test_Brand_Dir_Program
#if defined MACOSX
ParentID = gid_Test_Dir_Bundle_Contents;
DosName = "MacOS";
#else
ParentID = gid_Test_Dir_Brand_Root;
DosName = "program";
#endif
End
Directory gid_Test_Brand_Dir_Share
#if defined MACOSX
ParentID = gid_Test_Dir_Bundle_Contents;
#else
ParentID = gid_Test_Dir_Brand_Root;
#endif
DosName = "share";
End
Directory gid_Test_Brand_Dir_Share_Test
ParentID = gid_Test_Brand_Dir_Share;
DosName = "test";
End
File gid_Test_File_Txt_License
TXT_FILE_BODY;
Dir = gid_Test_Brand_Dir_Share_Test;
#ifdef UNX
Name = "LICENSE";
#endif
#ifdef WNT
Name = "license.txt";
#endif
Styles = (PACKED, SCPZIP_REPLACE);
End
File gid_Test_File_Txt_Readme
TXT_FILE_BODY;
Dir = gid_Test_Brand_Dir_Share_Test;
#ifdef UNX
Name = "README_en-US";
#endif
#ifdef WNT
Name = "readme_en-US.txt";
#endif
Styles = (PACKED, SCPZIP_REPLACE);
End
File gid_Test_File_Misc_Smoketestdoc
TXT_FILE_BODY;
Dir = gid_Test_Brand_Dir_Share_Test;
Name = "smoketestdoc.sxw";
Styles = (PACKED, SCPZIP_REPLACE);
End
File gid_Test_File_Bin_LOSmoketest
BIN_FILE_BODY;
Dir = gid_Test_Brand_Dir_Program;
Name = "losmoketest";
Styles = (PACKED);
End
File gid_Test_File_Exe_Cppunittester
BIN_FILE_BODY;
Dir = gid_Test_Brand_Dir_Program;
Name = "cppunittester";
Styles = (PACKED);
End
File gid_Test_File_Lib_Cppunit
TXT_FILE_BODY;
Styles = (PACKED);
Dir = gid_Test_Brand_Dir_Program;
#ifdef UNX
Name = STRING(CONCAT3(libcppunit-1.13,UNXSUFFIX,.0));
#endif
End
File gid_Test_File_Lib_Smoketest
TXT_FILE_BODY;
Styles = (PACKED);
Dir = gid_Test_Brand_Dir_Program;
#ifdef UNX
Name = STRING(CONCAT2(libsmoketest,UNXSUFFIX));
#endif
End
File gid_Test_File_Lib_Test
TXT_FILE_BODY;
Styles = (PACKED);
Dir = gid_Test_Brand_Dir_Program;
#ifdef UNX
Name = STRING(CONCAT2(libtest,UNXSUFFIX));
#endif
End
File gid_Test_File_Lib_Unotest
TXT_FILE_BODY;
Styles = (PACKED);
Dir = gid_Test_Brand_Dir_Program;
#ifdef UNX
Name = STRING(CONCAT2(libunotest,UNXSUFFIX));
#endif
End
File gid_Test_File_Lib_Unoexceptionprotector
TXT_FILE_BODY;
Styles = (PACKED);
Dir = gid_Test_Brand_Dir_Program;
#ifdef UNX
Name = STRING(CONCAT2(unoexceptionprotector,UNXSUFFIX));
#endif
End
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|