From b96c43892a9e89dfa61834505bb25357e80287da Mon Sep 17 00:00:00 2001 From: "James E. King III" Date: Thu, 24 Jan 2019 17:45:07 -0500 Subject: THRIFT-4717: fix up make clean with autoconf --- test/dart/Makefile.am | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'test/dart') 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 -- cgit v1.2.1