blob: cbec7afc395579373c3c91a83733299b14b81901 [file] [log] [blame]
David Reissea2cba82009-03-30 21:35:00 +00001#
2# Licensed to the Apache Software Foundation (ASF) under one
3# or more contributor license agreements. See the NOTICE file
4# distributed with this work for additional information
5# regarding copyright ownership. The ASF licenses this file
6# to you under the Apache License, Version 2.0 (the
7# "License"); you may not use this file except in compliance
8# with the License. You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing,
13# software distributed under the License is distributed on an
14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15# KIND, either express or implied. See the License for the
16# specific language governing permissions and limitations
17# under the License.
18#
19
David Reissfff84d12009-05-22 19:50:33 +000020export CLASSPATH
21
David Reiss3de1c4e2008-02-24 17:45:03 +000022all-local:
David Reiss4ca0c8e2009-05-12 23:16:55 +000023 $(ANT) $(ANT_FLAGS)
David Reissf8dcf032008-02-23 22:07:39 +000024
25install-exec-hook:
David Reiss4ca0c8e2009-05-12 23:16:55 +000026 $(ANT) $(ANT_FLAGS) install -Dinstall.path=$(DESTDIR)$(JAVA_PREFIX) \
Bryan Duxbury32e04b42009-03-20 16:43:06 +000027 -Dinstall.javadoc.path=$(DESTDIR)$(docdir)/java
David Reissf8dcf032008-02-23 22:07:39 +000028
David Reissf9b5b122008-05-09 07:17:35 +000029# Make sure this doesn't fail if ant is not configured.
David Reiss2ca456a2008-02-24 16:42:18 +000030clean-local:
David Reissf9b5b122008-05-09 07:17:35 +000031 ANT=$(ANT) ; if test -z "$$ANT" ; then ANT=: ; fi ; \
David Reiss4ca0c8e2009-05-12 23:16:55 +000032 $$ANT $(ANT_FLAGS) clean
David Reissf8dcf032008-02-23 22:07:39 +000033
David Reiss223d6bd2008-02-24 02:03:17 +000034check-local: all
David Reiss4ca0c8e2009-05-12 23:16:55 +000035 $(ANT) $(ANT_FLAGS) test
Bryan Duxbury50119f12009-01-29 21:31:25 +000036
jfarrell8fd8c632014-07-10 09:14:51 -040037EXTRA_DIST = \
38 build.xml \
39 build.properties \
40 src \
41 test \
42 README.md