blob: 9b1e84da3dded274ccbb4f2b3c533a5c496520fc [file] [log] [blame]
David Reiss48141bf2009-03-18 23:59:56 +00001EXTRA_DIST = build.xml src test LICENSE
David Reissc8abb072008-04-21 18:08:01 +00002
David Reiss3de1c4e2008-02-24 17:45:03 +00003all-local:
David Reissf8dcf032008-02-23 22:07:39 +00004 $(ANT)
5
6install-exec-hook:
Bryan Duxbury32e04b42009-03-20 16:43:06 +00007 $(ANT) install -Dinstall.path=$(DESTDIR)$(JAVA_PREFIX) \
8 -Dinstall.javadoc.path=$(DESTDIR)$(docdir)/java
David Reissf8dcf032008-02-23 22:07:39 +00009
David Reissf9b5b122008-05-09 07:17:35 +000010# Make sure this doesn't fail if ant is not configured.
David Reiss2ca456a2008-02-24 16:42:18 +000011clean-local:
David Reissf9b5b122008-05-09 07:17:35 +000012 ANT=$(ANT) ; if test -z "$$ANT" ; then ANT=: ; fi ; \
13 $$ANT clean
David Reissf8dcf032008-02-23 22:07:39 +000014
David Reiss223d6bd2008-02-24 02:03:17 +000015check-local: all
Bryan Duxbury50119f12009-01-29 21:31:25 +000016 $(ANT) test
17