From 9ab6fc5936be62f6fee1c433938eae4c89aa23da Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 25 Jan 2016 21:19:59 +0100 Subject: Generate warning text Now that we're using templates, we should warn people not to edit the resulting file. We do it through util/dofile.pl, which is enhanced with an option to tell what file it was called from. We also change the calls so the template files are on the command line instead of being redirected through standard input. That way, we can display something like this (example taken from include/openssl/opensslconf.h): /* WARNING: do not edit! */ /* Generated by Configure from include/openssl/opensslconf.h.in */ Reviewed-by: Rich Salz --- Makefile.in | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index e875f43..7db430d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,6 +1,7 @@ ## ## Makefile for OpenSSL ## +## {- join("\n## ", @autowarntext) -} VERSION={- $config{version} -} MAJOR={- $config{major} -} -- cgit v1.1