summaryrefslogtreecommitdiff
path: root/test/py.twisted
diff options
context:
space:
mode:
Diffstat (limited to 'test/py.twisted')
-rw-r--r--test/py.twisted/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/py.twisted/Makefile.am b/test/py.twisted/Makefile.am
index d11908cc0..dee8e2f69 100644
--- a/test/py.twisted/Makefile.am
+++ b/test/py.twisted/Makefile.am
@@ -27,4 +27,12 @@ check: stubs
$(TRIAL) ./test_suite.py
clean-local:
- $(RM) -r gen-py.twisted
+ $(RM) -r build
+ find . -type f \( -iname "*.pyc" \) | xargs rm -f
+ find . -type d \( -iname "__pycache__" -or -iname "_trial_temp" \) | xargs rm -rf
+ $(RM) -r gen-py*/
+
+dist-hook:
+ find $(distdir) -type f \( -iname "*.pyc" \) | xargs rm -f
+ find $(distdir) -type d \( -iname "__pycache__" -or -iname "_trial_temp" \) | xargs rm -rf
+ $(RM) -r $(distdir)/gen-py*/