Use ChangeLog date instead of build date

in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.

This date call works with GNU date and BSD date.
This commit is contained in:
Bernhard M. Wiedemann 2017-12-16 07:10:09 +01:00
parent 1be4267492
commit 0f69f0808e

View File

@ -26,7 +26,7 @@ VIPS_MAJOR_VERSION=vips_major_version()
VIPS_MINOR_VERSION=vips_minor_version()
VIPS_MICRO_VERSION=vips_micro_version()
VIPS_VERSION=vips_version()
VIPS_VERSION_STRING=$VIPS_VERSION-`date`
VIPS_VERSION_STRING=$VIPS_VERSION-`date -u -r ChangeLog`
# libtool library versioning ... not user-visible (except as part of the
# library file name) and does not correspond to major/minor/micro above