xref: /aoo42x/test/smoketestdoc/data/makefile.mk (revision a622bb93)
1e3c01311SAndrew Rist#**************************************************************
2e3c01311SAndrew Rist#
3e3c01311SAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4e3c01311SAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5e3c01311SAndrew Rist#  distributed with this work for additional information
6e3c01311SAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7e3c01311SAndrew Rist#  to you under the Apache License, Version 2.0 (the
8e3c01311SAndrew Rist#  "License"); you may not use this file except in compliance
9e3c01311SAndrew Rist#  with the License.  You may obtain a copy of the License at
10e3c01311SAndrew Rist#
11e3c01311SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12e3c01311SAndrew Rist#
13e3c01311SAndrew Rist#  Unless required by applicable law or agreed to in writing,
14e3c01311SAndrew Rist#  software distributed under the License is distributed on an
15e3c01311SAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16e3c01311SAndrew Rist#  KIND, either express or implied.  See the License for the
17e3c01311SAndrew Rist#  specific language governing permissions and limitations
18e3c01311SAndrew Rist#  under the License.
19e3c01311SAndrew Rist#
20e3c01311SAndrew Rist#**************************************************************
21e3c01311SAndrew Rist
22e3c01311SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ = ..
25cdf0e10cSrcweirPRJNAME = smoketestdoc
26cdf0e10cSrcweirTARGET = data
27cdf0e10cSrcweir
28cdf0e10cSrcweir.INCLUDE: settings.mk
29cdf0e10cSrcweir
30cdf0e10cSrcweir$(BIN)/smoketestdoc.sxw: $(MISC)/zip/smoketestdoc.sxw
31cdf0e10cSrcweir    $(COPY) $< $@
32cdf0e10cSrcweir
33cdf0e10cSrcweir$(MISC)/zip/smoketestdoc.sxw: \
34cdf0e10cSrcweir        Events.xml \
35cdf0e10cSrcweir        Global.xml \
36cdf0e10cSrcweir        OptionsDlg.xml \
37cdf0e10cSrcweir        Test_10er.xml \
38cdf0e10cSrcweir        Test_DB.xml \
39cdf0e10cSrcweir        Test_Ext.xml \
40cdf0e10cSrcweir        content.xml \
41cdf0e10cSrcweir        dialog-lb.xml \
42cdf0e10cSrcweir        dialog-lc.xml \
43cdf0e10cSrcweir        manifest.xml \
44cdf0e10cSrcweir        meta.xml \
45cdf0e10cSrcweir        script-lb.xml \
46cdf0e10cSrcweir        script-lc.xml \
47cdf0e10cSrcweir        settings.xml \
48cdf0e10cSrcweir        styles.xml
49cdf0e10cSrcweir    $(COMMAND_ECHO)$(RM) -r $(MISC)/zip
50cdf0e10cSrcweir    $(COMMAND_ECHO)$(MKDIR) $(MISC)/zip
51cdf0e10cSrcweir    $(COMMAND_ECHO)$(COPY) content.xml meta.xml settings.xml styles.xml $(MISC)/zip/
52cdf0e10cSrcweir    $(COMMAND_ECHO)printf application/vnd.sun.xml.writer > $(MISC)/zip/mimetype
53cdf0e10cSrcweir    $(COMMAND_ECHO)$(MKDIR) $(MISC)/zip/META-INF
54cdf0e10cSrcweir    $(COMMAND_ECHO)$(COPY) manifest.xml $(MISC)/zip/META-INF/
55cdf0e10cSrcweir    $(COMMAND_ECHO)$(MKDIR) $(MISC)/zip/Basic
56cdf0e10cSrcweir    $(COMMAND_ECHO)$(COPY) script-lc.xml $(MISC)/zip/Basic/
57cdf0e10cSrcweir    $(COMMAND_ECHO)$(MKDIR) $(MISC)/zip/Basic/Standard
58cdf0e10cSrcweir    $(COMMAND_ECHO)$(COPY) script-lb.xml Events.xml Global.xml Test_10er.xml Test_DB.xml \
59cdf0e10cSrcweir        Test_Ext.xml $(MISC)/zip/Basic/Standard/
60cdf0e10cSrcweir    $(COMMAND_ECHO)$(MKDIR) $(MISC)/zip/Dialogs
61cdf0e10cSrcweir    $(COMMAND_ECHO)$(COPY) dialog-lc.xml $(MISC)/zip/Dialogs/
62cdf0e10cSrcweir    $(COMMAND_ECHO)$(MKDIR) $(MISC)/zip/Dialogs/Standard
63cdf0e10cSrcweir    $(COMMAND_ECHO)$(COPY) dialog-lb.xml OptionsDlg.xml $(MISC)/zip/Dialogs/Standard/
64cdf0e10cSrcweir    $(COMMAND_ECHO)cd $(MISC)/zip && zip -rD $(@:f) .
65cdf0e10cSrcweir
66cdf0e10cSrcweir.INCLUDE: target.mk
67