summaryrefslogtreecommitdiffstats
path: root/src/udev/meson.build
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2020-12-31 00:11:30 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-14 07:22:06 +0100
commit225d08b8790fb0927f9ab360e372f9f34bbddacb (patch)
tree858c32402580bedac85370a1625c34cee043c6fe /src/udev/meson.build
parentudev: add missing short option name (diff)
downloadsystemd-225d08b8790fb0927f9ab360e372f9f34bbddacb.tar.xz
systemd-225d08b8790fb0927f9ab360e372f9f34bbddacb.zip
Add install-sysconfdir=no-samples option for (non-)installation of sample configs
By default, systemd installs various sample configuration files containing commented-out defaults. Systems seeking to minimize the number of files in /etc may wish to install directories and configuration files that have semantic effects, but not install not commented-out sample configuration files. Turn install-sysconfdir into a multi-valued option, with a "no-samples" value to skip installing sample-only configuration files.
Diffstat (limited to '')
-rw-r--r--src/udev/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/meson.build b/src/udev/meson.build
index 5a1d2149d7..9ec14c8021 100644
--- a/src/udev/meson.build
+++ b/src/udev/meson.build
@@ -203,7 +203,7 @@ foreach prog : udev_id_progs
endif
endforeach
-if install_sysconfdir
+if install_sysconfdir_samples
install_data('udev.conf',
install_dir : join_paths(sysconfdir, 'udev'))
endif