Ensure digest of lib/unicore/mktables is reproducible

For reasons Perl has decided files that don't exist should be given a
random "small" digest to make them rebuild always. That isn't helpful
for reproducibility.
This commit is contained in:
Samuel Tyler 2025-09-15 10:11:19 +10:00
parent 7bc5ec4555
commit 83ad28221a
5 changed files with 25 additions and 1 deletions

View file

@ -31,6 +31,11 @@ src_prepare() {
miniperlmain.c unicode_constants.h uni_keywords.h \
charclass_invlists.h ebcdic_tables.h mg_names.inc overload.inc \
packsizetables.inc
# If an input file does not exist, the "digest" of the input file (used as
# a manifest of inputs) in the generated file is a random number, which is
# not reproducible
touch lib/unicore/mktables.lst
perl regen.pl
perl regen_perly.pl
perl regen/keywords.pl