]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/udev/meson.build
meson: simplify handling of pkgconfigdatadir=no, pkgconfiglibdir=no
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 20 Dec 2018 20:31:32 +0000 (21:31 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 21 Dec 2018 12:43:20 +0000 (13:43 +0100)
commit3d3075e3098cc2c316e90b4b3d47f9cb6958cf6a
tree33a35ee362ff032fe64c5881aa1d71054a1724fc
parente1ca734edd17a90a325d5b566a4ea96e66c206e5
meson: simplify handling of pkgconfigdatadir=no, pkgconfiglibdir=no

The idea was that those vars could be configured to 'no' to not install the .pc
files, or they could be set to '', and then they would be built but not
installed. This was inherited from the autoconf build system. This couldn't
work because '' is replaced by the default value. Also, having this level of
control doesn't seem necessary, since creating those files is very
quick. Skipping with 'no' was implemented only for systemd.pc and not the other
.pc files. Let's simplify things and skip installation if the target dir
is configured as 'no' for all .pc files.
src/core/meson.build
src/libsystemd/meson.build
src/libudev/meson.build
src/udev/meson.build