thrift/lib/java/Makefile.am
David Reiss f0c21a72cd [THRIFT-70] Allow the Java install prefix to be configured.
Systems like Debian expect the thrift jar to be in /usr/share/java, not
the default /usr/local/lib This patch allows configure to be passed a
JAVA_PREFIX= flag.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@675821 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 01:26:16 +00:00

15 lines
287 B
Makefile

EXTRA_DIST = build.xml src LICENSE
all-local:
$(ANT)
install-exec-hook:
$(ANT) install -Dinstall.path=$(DESTDIR)$(JAVA_PREFIX)
# Make sure this doesn't fail if ant is not configured.
clean-local:
ANT=$(ANT) ; if test -z "$$ANT" ; then ANT=: ; fi ; \
$$ANT clean
check-local: all