]> git.ipfire.org Git - thirdparty/systemd.git/commit
man: conditionalize sd-pcrlock and sd-measure on the same variable as their binaries
authorLuca Boccassi <bluca@debian.org>
Fri, 22 Dec 2023 20:58:04 +0000 (21:58 +0100)
committerMike Yuan <me@yhndnzj.com>
Sat, 23 Dec 2023 10:04:08 +0000 (18:04 +0800)
commitd45ca9a9051d396dc8bf484072b10bec21ad2e3e
treec93c8b39b21ac985c6d33e97c61fdf8f8c77fef2
parent60d52f219eec0fbf300ee7bc7ee96da64f9e03b9
man: conditionalize sd-pcrlock and sd-measure on the same variable as their binaries

The binaries are built and installed if HAVE_TPM2 is set, and ignore ENABLE_BOOTLOADER,
so do the same for the manpages.

For the sd-pcrlock case this also installs the manpage aliases for the units, which
are not installed with -Dbootloader=disabled, but there's no way to conditionalize
the aliases, so on balance it's better to have too much documentation rather than
too little.

Fixes https://github.com/systemd/systemd/issues/30588
man/rules/meson.build
man/systemd-measure.xml
man/systemd-pcrlock.xml