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/dart | |
parent | 8935c98046dbbdd36ede73c1525f1be9df8da5cd (diff) | |
download | thrift-b96c43892a9e89dfa61834505bb25357e80287da.tar.gz |
THRIFT-4717: fix up make clean with autoconf
Diffstat (limited to 'test/dart')
-rw-r--r-- | test/dart/Makefile.am | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/test/dart/Makefile.am b/test/dart/Makefile.am index 9750ec236..27fdc099f 100644 --- a/test/dart/Makefile.am +++ b/test/dart/Makefile.am @@ -33,10 +33,20 @@ precross: stubs check: stubs clean-local: - $(RM) -r gen-dart test_client/.pub + $(RM) -r gen-dart/ test_client/.pub + find . -type d -name ".dart_tool" | xargs $(RM) -r find . -type d -name "packages" | xargs $(RM) -r find . -type f -name ".packages" | xargs $(RM) find . -type f -name "pubspec.lock" | xargs $(RM) +dist-hook: + $(RM) -r $(distdir)/gen-dart/ $(distdir)/test_client/.pub + find $(distdir) -type d -name ".dart_tool" | xargs $(RM) -r + find $(distdir) -type d -name "packages" | xargs $(RM) -r + find $(distdir) -type f -name ".packages" | xargs $(RM) + client: stubs ${DART} test_client/bin/main.dart + +EXTRA_DIST = \ + test_client |