mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 18:58:51 +00:00
f0c21a72cd
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
15 lines
287 B
Makefile
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
|