From: Juro Bystricky <juro.bystricky@intel.com>
Date: Fri, 27 Oct 2017 15:28:25 +0000 (-0700)
Subject: mkhelp.pl: support reproducible build
X-Git-Tag: curl-7_57_0~78
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6089aa53e44ff5171a5aec457b6746f653440ced;p=curl

mkhelp.pl: support reproducible build

Do not generate line with the current date, such as:

* Generation time: Tue Oct-24 18:01:41 2017

This will improve reproducibility. The generated string is only
part of a comment, so there should be no adverse consequences.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>

closes #2026
---

diff --git a/src/mkhelp.pl b/src/mkhelp.pl
index 270daa20a..757f024ce 100755
--- a/src/mkhelp.pl
+++ b/src/mkhelp.pl
@@ -102,11 +102,9 @@ while(<READ>) {
 }
 close(READ);
 
-$now = localtime;
 print <<HEAD
 /*
  * NEVER EVER edit this manually, fix the mkhelp.pl script instead!
- * Generation time: $now
  */
 #ifdef USE_MANUAL
 #include "tool_hugehelp.h"