]> git.ipfire.org Git - thirdparty/util-linux.git/commit
liblastlog2: generate lastlog2.h from template
authorKarel Zak <kzak@redhat.com>
Thu, 19 Mar 2026 19:53:41 +0000 (20:53 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 24 Mar 2026 09:21:15 +0000 (10:21 +0100)
commit98a935e7d97d033869423e7edb2c8bf381d8ade9
treebeb4d5f3b04e59229690ff79d7b0a8c746bf0f7a
parent6468f1f50168b93e33f645a31023f0e59825317e
liblastlog2: generate lastlog2.h from template

Convert lastlog2.h to lastlog2.h.in and add LIBLASTLOG2_VERSION,
LIBLASTLOG2_MAJOR_VERSION, LIBLASTLOG2_MINOR_VERSION, and
LIBLASTLOG2_PATCH_VERSION defines to follow the same pattern as
libmount, libfdisk, libsmartcols, and libblkid.

Update both autotools (configure.ac, Makemodule.am) and meson
(liblastlog2/meson.build) to generate the header.

Signed-off-by: Karel Zak <kzak@redhat.com>
Makefile.am
configure.ac
liblastlog2/meson.build
liblastlog2/src/.gitignore [new file with mode: 0644]
liblastlog2/src/Makemodule.am
liblastlog2/src/lastlog2.h.in [moved from liblastlog2/src/lastlog2.h with 93% similarity]