meson: migrate ChangeLog generator to a proper build target
authorEli Schwartz <eschwartz93@gmail.com>
Wed, 19 Oct 2022 22:08:08 +0000 (18:08 -0400)
committerColin Clark <colin.clark@cclark.uk>
Thu, 20 Oct 2022 11:11:46 +0000 (12:11 +0100)
commitf7bc9822a581feaec43b01ac502199bafeaf9cbf
treed51e1a62c8f7b2c1444f70aa99a3ac3256d3196e
parent91d7a63aabf9c5850ed15500bc953fa1274e1175
meson: migrate ChangeLog generator to a proper build target

We still run the same script. But now it is run at build time, not
configure time, and Meson checks that it successfully ran -- it
really, really, really, should.

That is, assuming that git is installed and this is a git repo. If not,
we can simply refrain from running anything at all, instead of checking
the return code of gen_changelog.sh
meson.build