summaryrefslogtreecommitdiff
path: root/lib/json
diff options
context:
space:
mode:
authorJames E. King III <jking@apache.org>2019-01-24 17:45:07 -0500
committerJames E. King III <jking@apache.org>2019-01-25 23:33:54 -0500
commitb96c43892a9e89dfa61834505bb25357e80287da (patch)
tree02bbf30d80e6f6ef8c76bc67ad20b90331b6de9d /lib/json
parent8935c98046dbbdd36ede73c1525f1be9df8da5cd (diff)
downloadthrift-b96c43892a9e89dfa61834505bb25357e80287da.tar.gz
THRIFT-4717: fix up make clean with autoconf
Diffstat (limited to 'lib/json')
-rw-r--r--lib/json/Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/json/Makefile.am b/lib/json/Makefile.am
index 1051b9bac..6c8c0ce81 100644
--- a/lib/json/Makefile.am
+++ b/lib/json/Makefile.am
@@ -17,13 +17,17 @@
# under the License.
#
-SUBDIRS =
-
if WITH_JAVA
# Schema validation test depends on java
-SUBDIRS += test
+SUBDIRS = test
endif
+clean-local:
+ $(RM) -r test/build/
+
+dist-hook:
+ $(RM) -r $(distdir)/test/build/
+
EXTRA_DIST = \
schema.json \
test