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