Merge branch 'reproducible-build-fix' into 'main'

configure: Generate version from date of last commit not current date

See merge request plymouth/plymouth!158
This commit is contained in:
Ray Strode 2022-02-15 20:16:04 +00:00
commit aa0d6aa9aa

View file

@ -1,5 +1,5 @@
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)