diff --git a/Makefile.am b/Makefile.am
index 01df96a3ef836b7e66877a0d08a2153fa0aa32c9..85a114bedabd97721e7e71298cb353bf6e3cada6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -269,6 +269,15 @@ lib/_autoconf.py: Makefile stamp-directories
 	set -e; \
 	{ echo '# This file is automatically generated, do not edit!'; \
 	  echo '#'; \
+	  echo ''; \
+	  echo '"""Build-time configuration for Ganeti.'; \
+	  echo '';\
+	  echo 'This file is autogenerated by the build process.'; \
+	  echo 'For any changes you need to re-run ./configure (and'; \
+	  echo 'not edit by hand).'; \
+	  echo ''; \
+	  echo '"""'; \
+	  echo ''; \
 	  echo "PACKAGE_VERSION = '$(PACKAGE_VERSION)'"; \
 	  echo "VERSION_MAJOR = '$(VERSION_MAJOR)'"; \
 	  echo "VERSION_MINOR = '$(VERSION_MINOR)'"; \