diff options
author | James E. King III <jking@apache.org> | 2019-01-24 17:45:07 -0500 |
---|---|---|
committer | James E. King III <jking@apache.org> | 2019-01-25 23:33:54 -0500 |
commit | b96c43892a9e89dfa61834505bb25357e80287da (patch) | |
tree | 02bbf30d80e6f6ef8c76bc67ad20b90331b6de9d /test/Makefile.am | |
parent | 8935c98046dbbdd36ede73c1525f1be9df8da5cd (diff) | |
download | thrift-b96c43892a9e89dfa61834505bb25357e80287da.tar.gz |
THRIFT-4717: fix up make clean with autoconf
Diffstat (limited to 'test/Makefile.am')
-rwxr-xr-x | test/Makefile.am | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index 68f198615..84f1f25cc 100755 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -108,25 +108,32 @@ check-local: $(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/test/ThriftTest.thrift clean-local: - rm -rf $(top_srcdir)/test/gen-html + $(RM) -r $(top_srcdir)/test/gen-html/ + find . -type d -name "__pycache__" | xargs rm -rf + find . -type f -name "*.pyc" | xargs rm -f + +dist-hook: + $(RM) -r $(distdir)/gen-html/ + find $(distdir) -type d -name "__pycache__" | xargs rm -rf + find $(distdir) -type f -name "*.pyc" | xargs rm -f EXTRA_DIST = \ audit \ - crossrunner \ - keys \ c_glib \ cl \ cpp \ + crossrunner \ dart \ erl \ hs \ + keys \ lua \ ocaml \ perl \ php \ py \ - py.twisted \ py.tornado \ + py.twisted \ rb \ rs \ threads \ @@ -134,12 +141,14 @@ EXTRA_DIST = \ BrokenConstants.thrift \ ConstantsDemo.thrift \ DebugProtoTest.thrift \ - DoubleConstantsTest.thrift \ DenseLinkingTest.thrift \ DocTest.thrift \ + DoubleConstantsTest.thrift \ + EnumContainersTest.thrift \ EnumTest.thrift \ FullCamelTest.thrift \ Include.thrift \ + Int64Test.thrift \ JavaBeansTest.thrift \ JavaDeepCopyTest.thrift \ JavaTypes.thrift \ @@ -150,7 +159,6 @@ EXTRA_DIST = \ OptionalRequiredTest.thrift \ Recursive.thrift \ ReuseObjects.thrift \ - EnumContainersTest.thrift \ SmallTest.thrift \ StressTest.thrift \ ThriftTest.thrift \ |