]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
config: Add a warning comment to the generated all-settings.c
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 11 Dec 2017 16:07:35 +0000 (18:07 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 11 Dec 2017 21:49:46 +0000 (23:49 +0200)
src/config/settings-get.pl

index 9c11f2872037c2bc3c7eb7b111251fadef897c34..99eaacb439f0f3af403b40d8dfe9fbaa8396451e 100755 (executable)
@@ -1,6 +1,13 @@
 #!/usr/bin/env perl
 use strict;
 
+print "/* WARNING: THIS FILE IS GENERATED - DO NOT PATCH!\n";
+print "   It's not enough alone in any case, because the defaults may be\n";
+print "   coming from the individual *-settings.c in some situations. If you\n";
+print "   wish to modify defaults, change the other *-settings.c files and\n";
+print "   just delete this file. This file will be automatically regenerated\n";
+print "   by make. (This file is distributed in the tarball only because some\n";
+print "   systems might not have Perl installed.) */\n";
 print '#include "lib.h"'."\n";
 print '#include "array.h"'."\n";
 print '#include "ipwd.h"'."\n";