mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-08 03:08:53 +00:00
32e04b423d
This patch adds a 'javadoc' Ant target, and installs the documentation to ${docdir}/thrift/java (/usr/local/share/doc/thrift/java with the default invocation of configure). It also fixes a few Javadoc warnings in the source code. It also modifies the 'dist' target to include the Java sources in the jar file, so that Eclipse may show the javadocs for Thrift classes automatically (this increases the size of libthrift.jar from 90 Kb to 155 Kb). git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@756603 13f79535-47bb-0310-9956-ffa450edef68
18 lines
358 B
Makefile
18 lines
358 B
Makefile
EXTRA_DIST = build.xml src test LICENSE
|
|
|
|
all-local:
|
|
$(ANT)
|
|
|
|
install-exec-hook:
|
|
$(ANT) install -Dinstall.path=$(DESTDIR)$(JAVA_PREFIX) \
|
|
-Dinstall.javadoc.path=$(DESTDIR)$(docdir)/java
|
|
|
|
# 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
|
|
$(ANT) test
|
|
|