Allow to override build date with SOURCE_DATE_EPOCH

Allow to override build date with SOURCE_DATE_EPOCH to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.

Without this patch, generated jinja-yaml.xml and jinja-isocpp.xml files varied in every build and these got embedded into qrc_syntax-data.cpp and libKF6SyntaxHighlighting.so.6.27.0

This patch was done while working on reproducible builds for openSUSE.

Merge request reports

Loading