summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fb71a72a..ac7b0502 100644
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,7 @@ cleandoc:
 	test -d $(DOCDIR) && rm -f -- $(DOCDIR)/*.html
 
 clean:
-	find . -regex .\*.py[co]$ | xargs rm -f --
+	find . -regex [^\s]\*.py[co]$ | xargs rm -f --
 
 test:
 	./all_tests.py