--- a/src/configure.ac
+++ b/src/configure.ac
@@ -116,6 +116,7 @@
 AC_CONFIG_FILES(mk/localdefs)
 AC_CONFIG_FILES(recollinstall)
 AC_CONFIG_FILES(sampleconf/recoll.conf)
+AC_CONFIG_FILES(Makefile)
 
 for d in bincimapmime index lib query
 do