9
9
10
10
$(eval $(call gb_CustomTarget_CustomTarget,extras/source/templates/presnt))
11
11
12
+ # # for OTP templates: mimetype, content.xml, styles.xml, META-INF/manifest.xml and
13
+ # Thumbnails/thumbnail.png files are automaticaly added for each template
14
+ # list of meta.xml files (one per template) + other files (content.xml, manifest.rdf, settings.xml, pictures...)
12
15
extras_PRESENTATIONS_XMLFILES := \
13
- Beehive/content.xml \
14
- Beehive/META-INF/manifest.xml \
15
- Beehive/meta.xml \
16
- Beehive/styles.xml \
17
- Beehive/Thumbnails/thumbnail.png \
18
- Blue_Curve/content.xml \
19
- Blue_Curve/META-INF/manifest.xml \
20
- Blue_Curve/meta.xml \
21
- Blue_Curve/styles.xml \
22
- Blue_Curve/Thumbnails/thumbnail.png \
23
- Blueprint_Plans/content.xml \
24
- Blueprint_Plans/META-INF/manifest.xml \
25
- Blueprint_Plans/meta.xml \
26
- Blueprint_Plans/Pictures/10000000000000580000001F99D2A38C014B254B.png \
27
- Blueprint_Plans/Pictures/100000000000033C0000026D847ACE982C6E20B6.png \
28
- Blueprint_Plans/Pictures/10000000000004220000031A5C2E04AB7C51FB60.png \
29
- Blueprint_Plans/Pictures/1000020100000500000002D03918081590A75FCF.png \
30
- Blueprint_Plans/Pictures/1000020100000500000002D0F25E20EA381A5EBD.png \
31
- Blueprint_Plans/styles.xml \
32
- Blueprint_Plans/Thumbnails/thumbnail.png \
33
- Candy/content.xml \
34
- Candy/META-INF/manifest.xml \
35
- Candy/meta.xml \
36
- Candy/styles.xml \
37
- Candy/Thumbnails/thumbnail.png \
38
- Candy/Pictures/10000000000004A800000500DD5BB9FFED422172.png \
39
- Candy/Pictures/10000000000005000000050014DEA376B6E67205.png \
40
- Candy/Pictures/1000000000000780000004383B6CE268A9802A07.png \
41
- Candy/Pictures/10000000000007800000043870026B1FACED0D1B.png \
42
- Candy/Pictures/100002010000070E0000007A072587FC46AD7996.png \
43
- Candy/Pictures/100002010000078100000028E4140FADDA6D818B.png \
44
- DNA/content.xml \
45
- DNA/META-INF/manifest.xml \
46
- DNA/meta.xml \
47
- DNA/styles.xml \
48
- DNA/Thumbnails/thumbnail.png \
49
- Focus/content.xml \
50
- Focus/META-INF/manifest.xml \
51
- Focus/meta.xml \
52
- Focus/styles.xml \
53
- Focus/Thumbnails/thumbnail.png \
54
- Forestbird/content.xml \
55
- Forestbird/META-INF/manifest.xml \
56
- Forestbird/meta.xml \
57
- Forestbird/styles.xml \
58
- Forestbird/Thumbnails/thumbnail.png \
59
- Grey_Elegant/meta.xml \
60
- Grey_Elegant/styles.xml \
61
- Grey_Elegant/content.xml \
62
- Grey_Elegant/META-INF/manifest.xml \
63
- Grey_Elegant/Thumbnails/thumbnail.png \
64
- Grey_Elegant/Pictures/100002010000001900000019CA03B954885E470D.png \
65
- Grey_Elegant/Pictures/1000000000000007000000075D9D31963C8C0E25.jpg \
66
- Grey_Elegant/Pictures/1000000000000007000000076677E5BE1EDAF335.jpg \
67
- Grey_Elegant/Pictures/100001E0000002950000029531405702AAD800D0.svg \
68
- Grey_Elegant/Pictures/10000201000003300000026455AC9786240DB2F8.png \
69
- Grey_Elegant/Pictures/100002510000029500000295D9236A158400ED63.svg \
70
- Grey_Elegant/Pictures/10000109000002950000029599843C084F54196C.svg \
71
- Grey_Elegant/Pictures/100002800000029500000295458C6106AED5C839.svg \
72
- Grey_Elegant/Pictures/1000DC810000A57800007C20AABC768B7E7ACB30.svg \
73
- Grey_Elegant/Pictures/10000201000000870000001D01E2F59468D22926.png \
74
- Grey_Elegant/Pictures/100002010000001900000019B19ADF33FD67D860.png \
75
- Grey_Elegant/Pictures/1000020100000019000000194F0EE08BB7018624.png \
76
- Grey_Elegant/Pictures/10000201000000190000001967D610D5BD5B9486.png \
77
- Grey_Elegant/Pictures/10000201000000190000001945D72F17575B71B4.png \
78
- Grey_Elegant/Pictures/10000000000001920000019230489F7A89351262.jpg \
79
- Grey_Elegant/Pictures/100002CA0000029500000295A190AE1D987B676B.svg \
80
- Growing_Liberty/meta.xml \
81
- Growing_Liberty/styles.xml \
82
- Growing_Liberty/content.xml \
83
- Growing_Liberty/META-INF/manifest.xml \
84
- Growing_Liberty/Thumbnails/thumbnail.png \
85
- Growing_Liberty/Pictures/10000201000001F10000029333ED1BC48076B5C4.png \
86
- Growing_Liberty/Pictures/10000000000007800000043801760C0AF0E62E0B.jpg \
87
- Growing_Liberty/Pictures/10000000000007800000043827B5F54D1F4F498F.jpg \
88
- Growing_Liberty/Pictures/100002010000050000000020D23CB52AADBCAD4A.png \
89
- Growing_Liberty/Pictures/10000201000001F3000003548E51808DE171DA02.png \
90
- Growing_Liberty/Pictures/10000C8F0000034200004A6ABD021DA9BD39254C.svg \
91
- Growing_Liberty/Pictures/10000C1C0000034200004A6A2C92F38BC117DD3C.svg \
92
- Growing_Liberty/Pictures/1000020100000020000002D01396E0588E1EBFBA.png \
93
- Growing_Liberty/Pictures/10000201000005000000002010F5D1670B946E0C.png \
94
- Growing_Liberty/Pictures/10000CA90000844B000003426738F0E80CCFF9F3.svg \
95
- Growing_Liberty/Pictures/10000C340000844B000003422549B923A55839CC.svg \
96
- Growing_Liberty/Pictures/1000020100000020000002D04D74467F50F635D0.png \
97
- Growing_Liberty/Pictures/10000201000001F000000351DA39462E363D7ED3.png \
98
- Growing_Liberty/Pictures/100002010000016A0000029374C9F2B8F26392AD.png \
99
- Freshes/META-INF/manifest.xml \
100
- Freshes/Object_1/content.xml \
101
- Freshes/Object_1/meta.xml \
102
- Freshes/Object_1/styles.xml \
103
- Freshes/Object_2/content.xml \
104
- Freshes/Object_2/meta.xml \
105
- Freshes/Object_2/styles.xml \
106
- Freshes/Pictures/10000000000002C5000003C02FC12A07C25F42DF.jpg \
107
- Freshes/Pictures/10000000000006D7000003A637B7BBC50EDF4D24.jpg \
108
- Freshes/Pictures/100000000000030F0000036F55A62FC34FCAB38E.jpg \
109
- Freshes/Pictures/100000000000049100000359E7B1AC100BA62FBB.jpg \
110
- Freshes/Pictures/10000000000001980000067FB46981E5FBCD5A53.jpg \
111
- Freshes/Pictures/10000000000002D50000067FACCA26111F046EB5.jpg \
112
- Freshes/Pictures/1000000000000B8B0000067F7C4C059ECC323C6F.jpg \
113
- Freshes/Pictures/TablePreview1.svm \
114
- Freshes/Thumbnails/thumbnail.png \
115
- Freshes/content.xml \
116
- Freshes/meta.xml \
117
- Freshes/styles.xml \
118
- Inspiration/content.xml \
119
- Inspiration/META-INF/manifest.xml \
120
- Inspiration/meta.xml \
121
- Inspiration/styles.xml \
122
- Inspiration/Thumbnails/thumbnail.png \
123
- Lights/content.xml \
124
- Lights/META-INF/manifest.xml \
125
- Lights/meta.xml \
126
- Lights/styles.xml \
127
- Lights/Thumbnails/thumbnail.png \
128
- Metropolis/content.xml \
129
- Metropolis/META-INF/manifest.xml \
130
- Metropolis/meta.xml \
131
- Metropolis/Pictures/10000201000003AF000002126A94207C4902B60B.png \
132
- Metropolis/Pictures/100021B200008D2E00004F60B312A649B9EEC188.svg \
133
- Metropolis/styles.xml \
134
- Metropolis/Thumbnails/thumbnail.png \
135
- Midnightblue/content.xml \
136
- Midnightblue/META-INF/manifest.xml \
137
- Midnightblue/meta.xml \
138
- Midnightblue/styles.xml \
139
- Midnightblue/Thumbnails/thumbnail.png \
140
- Nature_Illustration/content.xml \
141
- Nature_Illustration/META-INF/manifest.xml \
142
- Nature_Illustration/meta.xml \
143
- Nature_Illustration/Pictures/10000000000004210000031931EA92AB7FB2FD6C.jpg \
144
- Nature_Illustration/Pictures/100000000000042100000319892187DC121460D8.jpg \
145
- Nature_Illustration/styles.xml \
146
- Nature_Illustration/Thumbnails/thumbnail.png \
147
- Pencil/content.xml \
148
- Pencil/META-INF/manifest.xml \
149
- Pencil/meta.xml \
150
- Pencil/Pictures/1000020100000088000000870A26C51C993940C3.png \
151
- Pencil/Pictures/100002010000037D0000001C2F14EFE8274AD9FC.png \
152
- Pencil/Pictures/1000020100000402000000A2F7F509AE74DE6C69.png \
153
- Pencil/styles.xml \
154
- Pencil/Thumbnails/thumbnail.png \
155
- Piano/content.xml \
156
- Piano/META-INF/manifest.xml \
157
- Piano/meta.xml \
158
- Piano/Pictures/100000000000035400000120266623530F1969D0.png \
159
- Piano/Pictures/100002010000033A0000006EDD62437E1CC42053.png \
160
- Piano/styles.xml \
161
- Piano/Thumbnails/thumbnail.png \
162
- Portfolio/content.xml \
163
- Portfolio/META-INF/manifest.xml \
164
- Portfolio/meta.xml \
165
- Portfolio/styles.xml \
166
- Portfolio/Thumbnails/thumbnail.png \
167
- Progress/content.xml \
168
- Progress/META-INF/manifest.xml \
169
- Progress/meta.xml \
170
- Progress/styles.xml \
171
- Progress/Thumbnails/thumbnail.png \
172
- Sunset/content.xml \
173
- Sunset/meta.xml \
174
- Sunset/styles.xml \
175
- Sunset/META-INF/manifest.xml \
176
- Sunset/Thumbnails/thumbnail.png \
177
- Vintage/content.xml \
178
- Vintage/META-INF/manifest.xml \
179
- Vintage/meta.xml \
180
- Vintage/Pictures/10000000000000580000001F99D2A38C014B254B.png \
181
- Vintage/Pictures/10000201000004B000000337490AE22881331C9B.png \
182
- Vintage/Pictures/10000201000004B00000033776CA70A4BFE2196B.png \
183
- Vintage/Pictures/10000201000004B0000003379D1127938561C230.png \
184
- Vintage/Pictures/10000201000004B000000337D99A2303560BD59C.png \
185
- Vintage/styles.xml \
186
- Vintage/Thumbnails/thumbnail.png \
187
- Vivid/content.xml \
188
- Vivid/META-INF/manifest.xml \
189
- Vivid/meta.xml \
190
- Vivid/styles.xml \
191
- Vivid/Thumbnails/thumbnail.png \
192
- Yellow_Idea/content.xml \
193
- Yellow_Idea/meta.xml \
194
- Yellow_Idea/styles.xml \
195
- Yellow_Idea/META-INF/manifest.xml \
196
- Yellow_Idea/Pictures/1000020100000021000000087A16FD8FB901FE83.png \
197
- Yellow_Idea/Pictures/100002010000001A0000001A609D6B9B144132F8.png \
198
- Yellow_Idea/Pictures/10000201000000210000000835496FFA25AE5DB6.png \
199
- Yellow_Idea/Pictures/100002010000001A0000001A21D7EADBA56038F4.png \
200
- Yellow_Idea/Pictures/1000020100000008000000218CFF265B51917950.png \
201
- Yellow_Idea/Pictures/100002010000004100000019BACEF928CB2A84CB.png \
202
- Yellow_Idea/Pictures/100002010000004E000000192EFFFDEF12FDB2A8.png \
203
- Yellow_Idea/Pictures/100002010000004D0000008BE35F31AC2914377D.png \
204
- Yellow_Idea/Pictures/100002010000009E000000BD075AA48B79110C47.png \
205
- Yellow_Idea/Thumbnails/thumbnail.png \
16
+ Beehive/meta.xml \
17
+ Blue_Curve/meta.xml \
18
+ Blueprint_Plans/meta.xml \
19
+ Candy/meta.xml \
20
+ DNA/meta.xml \
21
+ Focus/meta.xml \
22
+ Forestbird/meta.xml \
23
+ Grey_Elegant/meta.xml \
24
+ Growing_Liberty/meta.xml \
25
+ Freshes/meta.xml \
26
+ Inspiration/meta.xml \
27
+ Lights/meta.xml \
28
+ Metropolis/meta.xml \
29
+ Midnightblue/meta.xml \
30
+ Nature_Illustration/meta.xml \
31
+ Pencil/meta.xml \
32
+ Piano/meta.xml \
33
+ Portfolio/meta.xml \
34
+ Progress/meta.xml \
35
+ Sunset/meta.xml \
36
+ Vintage/meta.xml \
37
+ Vivid/meta.xml \
38
+ Yellow_Idea/meta.xml \
39
+ Freshes/Object_1/content.xml \
40
+ Freshes/Object_1/meta.xml \
41
+ Freshes/Object_1/styles.xml \
42
+ Freshes/Object_2/content.xml \
43
+ Freshes/Object_2/meta.xml \
44
+ Freshes/Object_2/styles.xml \
45
+ Blueprint_Plans/Pictures/10000000000000580000001F99D2A38C014B254B.png \
46
+ Blueprint_Plans/Pictures/100000000000033C0000026D847ACE982C6E20B6.png \
47
+ Blueprint_Plans/Pictures/10000000000004220000031A5C2E04AB7C51FB60.png \
48
+ Blueprint_Plans/Pictures/1000020100000500000002D03918081590A75FCF.png \
49
+ Blueprint_Plans/Pictures/1000020100000500000002D0F25E20EA381A5EBD.png \
50
+ Candy/Pictures/10000000000004A800000500DD5BB9FFED422172.png \
51
+ Candy/Pictures/10000000000005000000050014DEA376B6E67205.png \
52
+ Candy/Pictures/1000000000000780000004383B6CE268A9802A07.png \
53
+ Candy/Pictures/10000000000007800000043870026B1FACED0D1B.png \
54
+ Candy/Pictures/100002010000070E0000007A072587FC46AD7996.png \
55
+ Candy/Pictures/100002010000078100000028E4140FADDA6D818B.png \
56
+ Freshes/Pictures/10000000000001980000067FB46981E5FBCD5A53.jpg \
57
+ Freshes/Pictures/10000000000002C5000003C02FC12A07C25F42DF.jpg \
58
+ Freshes/Pictures/10000000000002D50000067FACCA26111F046EB5.jpg \
59
+ Freshes/Pictures/100000000000030F0000036F55A62FC34FCAB38E.jpg \
60
+ Freshes/Pictures/100000000000049100000359E7B1AC100BA62FBB.jpg \
61
+ Freshes/Pictures/10000000000006D7000003A637B7BBC50EDF4D24.jpg \
62
+ Freshes/Pictures/1000000000000B8B0000067F7C4C059ECC323C6F.jpg \
63
+ Freshes/Pictures/TablePreview1.svm \
64
+ Grey_Elegant/Pictures/1000000000000007000000075D9D31963C8C0E25.jpg \
65
+ Grey_Elegant/Pictures/1000000000000007000000076677E5BE1EDAF335.jpg \
66
+ Grey_Elegant/Pictures/10000000000001920000019230489F7A89351262.jpg \
67
+ Grey_Elegant/Pictures/10000109000002950000029599843C084F54196C.svg \
68
+ Grey_Elegant/Pictures/100001E0000002950000029531405702AAD800D0.svg \
69
+ Grey_Elegant/Pictures/10000201000000190000001945D72F17575B71B4.png \
70
+ Grey_Elegant/Pictures/1000020100000019000000194F0EE08BB7018624.png \
71
+ Grey_Elegant/Pictures/10000201000000190000001967D610D5BD5B9486.png \
72
+ Grey_Elegant/Pictures/100002010000001900000019B19ADF33FD67D860.png \
73
+ Grey_Elegant/Pictures/100002010000001900000019CA03B954885E470D.png \
74
+ Grey_Elegant/Pictures/10000201000000870000001D01E2F59468D22926.png \
75
+ Grey_Elegant/Pictures/10000201000003300000026455AC9786240DB2F8.png \
76
+ Grey_Elegant/Pictures/100002510000029500000295D9236A158400ED63.svg \
77
+ Grey_Elegant/Pictures/100002800000029500000295458C6106AED5C839.svg \
78
+ Grey_Elegant/Pictures/100002CA0000029500000295A190AE1D987B676B.svg \
79
+ Grey_Elegant/Pictures/1000DC810000A57800007C20AABC768B7E7ACB30.svg \
80
+ Growing_Liberty/Pictures/10000000000007800000043801760C0AF0E62E0B.jpg \
81
+ Growing_Liberty/Pictures/10000000000007800000043827B5F54D1F4F498F.jpg \
82
+ Growing_Liberty/Pictures/1000020100000020000002D01396E0588E1EBFBA.png \
83
+ Growing_Liberty/Pictures/1000020100000020000002D04D74467F50F635D0.png \
84
+ Growing_Liberty/Pictures/100002010000016A0000029374C9F2B8F26392AD.png \
85
+ Growing_Liberty/Pictures/10000201000001F000000351DA39462E363D7ED3.png \
86
+ Growing_Liberty/Pictures/10000201000001F10000029333ED1BC48076B5C4.png \
87
+ Growing_Liberty/Pictures/10000201000001F3000003548E51808DE171DA02.png \
88
+ Growing_Liberty/Pictures/10000201000005000000002010F5D1670B946E0C.png \
89
+ Growing_Liberty/Pictures/100002010000050000000020D23CB52AADBCAD4A.png \
90
+ Growing_Liberty/Pictures/10000C1C0000034200004A6A2C92F38BC117DD3C.svg \
91
+ Growing_Liberty/Pictures/10000C340000844B000003422549B923A55839CC.svg \
92
+ Growing_Liberty/Pictures/10000C8F0000034200004A6ABD021DA9BD39254C.svg \
93
+ Growing_Liberty/Pictures/10000CA90000844B000003426738F0E80CCFF9F3.svg \
94
+ Metropolis/Pictures/10000201000003AF000002126A94207C4902B60B.png \
95
+ Metropolis/Pictures/100021B200008D2E00004F60B312A649B9EEC188.svg \
96
+ Nature_Illustration/Pictures/10000000000004210000031931EA92AB7FB2FD6C.jpg \
97
+ Nature_Illustration/Pictures/100000000000042100000319892187DC121460D8.jpg \
98
+ Pencil/Pictures/1000020100000088000000870A26C51C993940C3.png \
99
+ Pencil/Pictures/100002010000037D0000001C2F14EFE8274AD9FC.png \
100
+ Pencil/Pictures/1000020100000402000000A2F7F509AE74DE6C69.png \
101
+ Piano/Pictures/100000000000035400000120266623530F1969D0.png \
102
+ Piano/Pictures/100002010000033A0000006EDD62437E1CC42053.png \
103
+ Vintage/Pictures/10000000000000580000001F99D2A38C014B254B.png \
104
+ Vintage/Pictures/10000201000004B000000337490AE22881331C9B.png \
105
+ Vintage/Pictures/10000201000004B00000033776CA70A4BFE2196B.png \
106
+ Vintage/Pictures/10000201000004B0000003379D1127938561C230.png \
107
+ Vintage/Pictures/10000201000004B000000337D99A2303560BD59C.png \
108
+ Yellow_Idea/Pictures/1000020100000008000000218CFF265B51917950.png \
109
+ Yellow_Idea/Pictures/100002010000001A0000001A21D7EADBA56038F4.png \
110
+ Yellow_Idea/Pictures/100002010000001A0000001A609D6B9B144132F8.png \
111
+ Yellow_Idea/Pictures/10000201000000210000000835496FFA25AE5DB6.png \
112
+ Yellow_Idea/Pictures/1000020100000021000000087A16FD8FB901FE83.png \
113
+ Yellow_Idea/Pictures/100002010000004100000019BACEF928CB2A84CB.png \
114
+ Yellow_Idea/Pictures/100002010000004D0000008BE35F31AC2914377D.png \
115
+ Yellow_Idea/Pictures/100002010000004E000000192EFFFDEF12FDB2A8.png \
116
+ Yellow_Idea/Pictures/100002010000009E000000BD075AA48B79110C47.png \
206
117
207
118
# param: style-base (e.g. Modern)
208
119
extras_PRESNT_XMLFILES_RELATIVE = $(subst $(1 ) /,,$(filter $(1 ) /% ,$(extras_PRESENTATIONS_XMLFILES ) ) )
@@ -218,6 +129,7 @@ $(call gb_CustomTarget_get_workdir,extras/source/templates/presnt)/% : $(SRCDIR)
218
129
cp $< $@
219
130
$(call gb_Trace_EndRange,templates/presnt/$*,CPY)
220
131
132
+ # test and copy xml files
221
133
$(call gb_CustomTarget_get_workdir,extras/source/templates/presnt) /% .xml : $(SRCDIR ) /extras/source/templates/presnt/% .xml \
222
134
| $(call gb_ExternalExecutable_get_dependencies,xsltproc) \
223
135
$$(dir $(call gb_CustomTarget_get_workdir,extras/source/templates/presnt)/$$*.xml).dir
@@ -226,14 +138,24 @@ $(call gb_CustomTarget_get_workdir,extras/source/templates/presnt)/%.xml : $(SRC
226
138
$(call gb_ExternalExecutable_get_command,xsltproc) --nonet -o $@ $(SRCDIR)/extras/util/compact.xsl $<
227
139
$(call gb_Trace_EndRange,templates/presnt/$*.xml,XSL)
228
140
141
+ # zip files to OTP
229
142
$(call gb_CustomTarget_get_workdir,extras/source/templates/presnt) /% .otp : \
230
143
$$(addprefix $(call gb_CustomTarget_get_workdir,extras/source/templates/presnt)/$$*/,\
231
- mimetype $$(call extras_PRESNT_XMLFILES_RELATIVE,$$*))
144
+ mimetype $$(call extras_PRESNT_XMLFILES_RELATIVE,$$*) ) \
145
+ $$(addprefix $(call gb_CustomTarget_get_workdir,extras/source/templates/presnt)/$$*/,\
146
+ content.xml $$(call extras_PRESNT_XMLFILES_RELATIVE,$$*) ) \
147
+ $$(addprefix $(call gb_CustomTarget_get_workdir,extras/source/templates/presnt)/$$*/,\
148
+ styles.xml $$(call extras_PRESNT_XMLFILES_RELATIVE,$$*) ) \
149
+ $$(addprefix $(call gb_CustomTarget_get_workdir,extras/source/templates/presnt)/$$*/,\
150
+ META-INF/manifest.xml $$(call extras_PRESNT_XMLFILES_RELATIVE,$$*) ) \
151
+ $$(addprefix $(call gb_CustomTarget_get_workdir,extras/source/templates/presnt)/$$*/,\
152
+ Thumbnails/thumbnail.png $$(call extras_PRESNT_XMLFILES_RELATIVE,$$*) )
232
153
$(call gb_Output_announce,templates/presnt/$*.otp,$(true),ZIP,2)
233
154
$(call gb_Trace_StartRange,templates/presnt/$*.otp,ZIP)
234
155
$(call gb_Helper_abbreviate_dirs,\
235
156
cd $(dir $<) && \
236
157
zip -q0X --filesync --must-match $@ mimetype && \
158
+ zip -qrX --must-match $@ content.xml styles.xml META-INF/manifest.xml Thumbnails/thumbnail.png && \
237
159
zip -qrX --must-match $@ $(call extras_PRESNT_XMLFILES_RELATIVE,$*) \
238
160
)
239
161
$(call gb_Trace_EndRange,templates/presnt/$*.otp,ZIP)
0 commit comments