Using the date at build time prevents the build from being reproducible
later.
In order to facilitate reproducible builds, this commit changes the
logic to derive the version from the date of the last commit.
AC_INIT([plymouth],
- m4_esyscmd_s([date +%y.%V.$(git rev-list $(git describe --abbrev=0)..HEAD --count) || echo 0]),
+ m4_esyscmd_s([date +%y.%V.$(git rev-list $(git describe --abbrev=0)..HEAD --count) -d "@$(git log -1 --pretty=format:%ct)" || echo 0]),
[https://gitlab.freedesktop.org/plymouth/plymouth/issues])
AC_CONFIG_SRCDIR(src/main.c)
AC_CONFIG_HEADER(config.h)