]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: rework processing of unit files
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 13 Apr 2017 00:58:55 +0000 (20:58 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Apr 2017 01:47:28 +0000 (21:47 -0400)
commit082ef2adbddecde5432608298a19551319b162c5
tree813b483d59485def4db201ad2250beecc067208a
parentaa13df58741de826cf298825f66d6a7036884fc1
meson: rework processing of unit files

Ideally, we would chain the m4 processing, .in substitutions, and file
installation so that the commands don't have to be repeated. Unfortunately
this does not seem currently possible, because custom_target() output cannot
be fed into install_data(), so it's necessary to use the 'install',
'install_dir' arguments to control installation. Nevertheless, rework the
rules to repeat less stuff and unify handling of conditions between the
different file types.
units/meson.build