summaryrefslogtreecommitdiff
path: root/tools/c_rehash.in
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-01-25 21:19:59 +0100
committerRichard Levitte <levitte@openssl.org>2016-01-25 21:19:59 +0100
commit9ab6fc5936be62f6fee1c433938eae4c89aa23da (patch)
tree0f0177f9d404741116b0c65c157db32c10410a35 /tools/c_rehash.in
parent52cdc9970de5f0e884d829d8dfa23c89c51527f9 (diff)
downloadopenssl-new-9ab6fc5936be62f6fee1c433938eae4c89aa23da.tar.gz
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 <rsalz@openssl.org>
Diffstat (limited to 'tools/c_rehash.in')
-rw-r--r--tools/c_rehash.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/c_rehash.in b/tools/c_rehash.in
index 912618c230..dc66a9d962 100644
--- a/tools/c_rehash.in
+++ b/tools/c_rehash.in
@@ -1,5 +1,7 @@
#!{- $config{perl} -}
+# {- join("\n# ", @autowarntext) -}
+
# Perl c_rehash script, scan all files in a directory
# and add symbolic links to their hash values.