--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -43,3 +43,5 @@
 
 EXTRA_DIST = makefile.panoinfo.win32 makefile.ptoptimizer.win32
 
+MAINTAINERCLEANFILES = \
+	Makefile.in