]> git.ipfire.org Git - thirdparty/systemd.git/commit
Get SOURCE_EPOCH from the latest git tag instead of NEWS
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 20 Jul 2020 19:41:48 +0000 (20:41 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Jul 2020 06:38:30 +0000 (08:38 +0200)
commitbd190899bba3f1d24663168f2e15e8697b7c4db9
tree8620568fba4dfa53228682071c44c7b1f3e2b9fd
parent00b868e857baf974b6cfc913e142319a0d1d6002
Get SOURCE_EPOCH from the latest git tag instead of NEWS

Currently, each change to NEWS triggers a meson reconfigure that
changes SOURCE_EPOCH which causes a full rebuild. Since NEWS changes
relatively often, we have a full rebuild each time we pull from
master even if we pull semi-regularly. This is further compounded
when using branches since NEWS has a relatively high chance to
differ between branches which causes git to update the modification
time, leading to a full rebuild when switching between branches.

We fix this by using the creation time of the latest git tag instead.
meson.build