2009-03-30 21:35:00 +00:00
|
|
|
#
|
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
# or more contributor license agreements. See the NOTICE file
|
|
|
|
# distributed with this work for additional information
|
|
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
|
|
# to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance
|
|
|
|
# with the License. You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing,
|
|
|
|
# software distributed under the License is distributed on an
|
|
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
# KIND, either express or implied. See the License for the
|
|
|
|
# specific language governing permissions and limitations
|
|
|
|
# under the License.
|
|
|
|
#
|
|
|
|
|
2011-04-20 19:48:12 +00:00
|
|
|
EXTRA_DIST = build.xml build.properties src test
|
2008-04-21 18:08:01 +00:00
|
|
|
|
2009-05-22 19:50:33 +00:00
|
|
|
export CLASSPATH
|
|
|
|
|
2008-02-24 17:45:03 +00:00
|
|
|
all-local:
|
2009-05-12 23:16:55 +00:00
|
|
|
$(ANT) $(ANT_FLAGS)
|
2008-02-23 22:07:39 +00:00
|
|
|
|
|
|
|
install-exec-hook:
|
2009-05-12 23:16:55 +00:00
|
|
|
$(ANT) $(ANT_FLAGS) install -Dinstall.path=$(DESTDIR)$(JAVA_PREFIX) \
|
2009-03-20 16:43:06 +00:00
|
|
|
-Dinstall.javadoc.path=$(DESTDIR)$(docdir)/java
|
2008-02-23 22:07:39 +00:00
|
|
|
|
2008-05-09 07:17:35 +00:00
|
|
|
# Make sure this doesn't fail if ant is not configured.
|
2008-02-24 16:42:18 +00:00
|
|
|
clean-local:
|
2008-05-09 07:17:35 +00:00
|
|
|
ANT=$(ANT) ; if test -z "$$ANT" ; then ANT=: ; fi ; \
|
2009-05-12 23:16:55 +00:00
|
|
|
$$ANT $(ANT_FLAGS) clean
|
2008-02-23 22:07:39 +00:00
|
|
|
|
2008-02-24 02:03:17 +00:00
|
|
|
check-local: all
|
2009-05-12 23:16:55 +00:00
|
|
|
$(ANT) $(ANT_FLAGS) test
|
2009-01-29 21:31:25 +00:00
|
|
|
|