--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -4,3 +4,5 @@
 
 EXTRA_DIST = Optimize.txt stitch.txt
 
+MAINTAINERCLEANFILES = \
+	Makefile.in