merged tag ooo/DEV300_m102
[LibreOffice.git] / smoketestoo_native / data / makefile.mk
blob2096d07de90efd907c4cad189e2a3672a5f5889c
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #***********************************************************************/
28 PRJ = ..
29 PRJNAME = smoketestoo_native
30 TARGET = data
32 .INCLUDE: settings.mk
34 $(BIN)/smoketestdoc.sxw: $(MISC)/zip/smoketestdoc.sxw
35 $(COPY) $< $@
37 $(MISC)/zip/smoketestdoc.sxw: \
38 Events.xml \
39 Global.xml \
40 OptionsDlg.xml \
41 Test_10er.xml \
42 Test_DB.xml \
43 Test_Ext.xml \
44 content.xml \
45 dialog-lb.xml \
46 dialog-lc.xml \
47 manifest.xml \
48 meta.xml \
49 script-lb.xml \
50 script-lc.xml \
51 settings.xml \
52 styles.xml
53 $(RM) -r $(MISC)/zip
54 $(MKDIR) $(MISC)/zip
55 $(COPY) content.xml meta.xml settings.xml styles.xml $(MISC)/zip/
56 printf application/vnd.sun.xml.writer > $(MISC)/zip/mimetype
57 $(MKDIR) $(MISC)/zip/META-INF
58 $(COPY) manifest.xml $(MISC)/zip/META-INF/
59 $(MKDIR) $(MISC)/zip/Basic
60 $(COPY) script-lc.xml $(MISC)/zip/Basic/
61 $(MKDIR) $(MISC)/zip/Basic/Standard
62 $(COPY) script-lb.xml Events.xml Global.xml Test_10er.xml Test_DB.xml \
63 Test_Ext.xml $(MISC)/zip/Basic/Standard/
64 $(MKDIR) $(MISC)/zip/Dialogs
65 $(COPY) dialog-lc.xml $(MISC)/zip/Dialogs/
66 $(MKDIR) $(MISC)/zip/Dialogs/Standard
67 $(COPY) dialog-lb.xml OptionsDlg.xml $(MISC)/zip/Dialogs/Standard/
68 cd $(MISC)/zip && zip -rD $(@:f) .
70 .INCLUDE: target.mk