diff --git a/pd/src/makefile.in b/pd/src/makefile.in
index 533dd3a6c02339ba411d71a0b3f979d36e7befae..899b6cf3dc7cbd4e4204d7c35cb7ba80a8f453d5 100644
--- a/pd/src/makefile.in
+++ b/pd/src/makefile.in
@@ -245,8 +245,7 @@ clean: extra-clean local-clean
 distclean: clean
 	-rm -f s_stuff.h config.cache config.log config.status makefile tags \
 		autom4te.cache/output.* autom4te.cache/traces.* autom4te.cache/requests
-	-rmdir autom4te.cache
-	-rm -rf autom4te-*.cache
+	-rm -rf autom4te*.cache
 
 tags: $(SRC); ctags *.[ch]