]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
meson: allow building .standalone on demand
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 14 Apr 2023 16:19:48 +0000 (18:19 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 3 May 2023 10:29:41 +0000 (12:29 +0200)
commitb62ee354dd68349812f0526622c4e164b4a89f5f
tree846ea4cccf557d1ac3e24d5c2ff25186c163515f
parent9a01fe3906682eeb0fe29fb8ef9cadd1dff353e1
meson: allow building .standalone on demand

We can always build the standalone version whenever we build the normal version
(the dependencies are the same). In most builds standalone binaries would be
disabled. But it is occasionally useful to have them for testing, so move the
conditional to install:, so the binaries can be build by giving the explicit
target name.

The default of 'build_by_default' for executable() is sadly true (since meson
0.38.0), so need to specify build_by_default: too.

Also add systemd-shutdown.standalone to public_programs for additional testing.
meson.build