mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 18:58:51 +00:00
f9b5b12f4d
The Java Makefile.ams assume the existence of ANT, but "make distclean" runs in the Java directories even if ENABLE_JAVA is off. This change makes the clean-local target handle the absence of ANT, fixing "make distclean". git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665683 13f79535-47bb-0310-9956-ffa450edef68
9 lines
159 B
Makefile
9 lines
159 B
Makefile
check:
|
|
$(ANT) test
|
|
|
|
# Make sure this doesn't fail if ant is not configured.
|
|
clean-local:
|
|
ANT=$(ANT) ; if test -z "$$ANT" ; then ANT=: ; fi ; \
|
|
$$ANT clean
|
|
|