xref: /trunk/main/ure/Package_uretest_zip.mk (revision 453cfdfc)
1*453cfdfcSdamjan#**************************************************************
2*453cfdfcSdamjan#
3*453cfdfcSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*453cfdfcSdamjan#  or more contributor license agreements.  See the NOTICE file
5*453cfdfcSdamjan#  distributed with this work for additional information
6*453cfdfcSdamjan#  regarding copyright ownership.  The ASF licenses this file
7*453cfdfcSdamjan#  to you under the Apache License, Version 2.0 (the
8*453cfdfcSdamjan#  "License"); you may not use this file except in compliance
9*453cfdfcSdamjan#  with the License.  You may obtain a copy of the License at
10*453cfdfcSdamjan#
11*453cfdfcSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*453cfdfcSdamjan#
13*453cfdfcSdamjan#  Unless required by applicable law or agreed to in writing,
14*453cfdfcSdamjan#  software distributed under the License is distributed on an
15*453cfdfcSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*453cfdfcSdamjan#  KIND, either express or implied.  See the License for the
17*453cfdfcSdamjan#  specific language governing permissions and limitations
18*453cfdfcSdamjan#  under the License.
19*453cfdfcSdamjan#
20*453cfdfcSdamjan#**************************************************************
21*453cfdfcSdamjan
22*453cfdfcSdamjan$(eval $(call gb_Package_Package,ure_uretest_zip,$(WORKDIR)/CustomTarget/ure/source))
23*453cfdfcSdamjan
24*453cfdfcSdamjan$(eval $(call gb_Package_add_file,ure_uretest_zip,bin/uretest.zip,uretest.zip))
25*453cfdfcSdamjan
26*453cfdfcSdamjan$(WORKDIR)/CustomTarget/ure/source/uretest.zip : $(wildcard $(SRCDIR)/ure/source/uretest/*)
27*453cfdfcSdamjan	mkdir -p $(dir $@) && \
28*453cfdfcSdamjan	cd $(SRCDIR)/ure/source && \
29*453cfdfcSdamjan	zip -r $@ uretest
30