summaryrefslogtreecommitdiff
path: root/tutorial/d
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 /tutorial/d
parent8935c98046dbbdd36ede73c1525f1be9df8da5cd (diff)
downloadthrift-b96c43892a9e89dfa61834505bb25357e80287da.tar.gz
THRIFT-4717: fix up make clean with autoconf
Diffstat (limited to 'tutorial/d')
-rw-r--r--tutorial/d/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/tutorial/d/Makefile.am b/tutorial/d/Makefile.am
index d8c8b2910..358294ce5 100644
--- a/tutorial/d/Makefile.am
+++ b/tutorial/d/Makefile.am
@@ -44,3 +44,10 @@ all-local: $(PROGS)
clean:
$(RM) -f $(PROGS)
+ $(RM) -r gen-d/
+ find . -type f -name '*.o' | xargs rm -f
+
+dist-hook:
+ $(RM) -f $(distdir)/$(PROGS)
+ $(RM) -r $(distdir)/gen-d/
+ find $(destdir) -type f -name '*.o' | xargs rm -f