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 /tutorial/d | |
parent | 8935c98046dbbdd36ede73c1525f1be9df8da5cd (diff) | |
download | thrift-b96c43892a9e89dfa61834505bb25357e80287da.tar.gz |
THRIFT-4717: fix up make clean with autoconf
Diffstat (limited to 'tutorial/d')
-rw-r--r-- | tutorial/d/Makefile.am | 7 |
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 |