diff options
author | Josh Triplett <josh@joshtriplett.org> | 2020-12-31 00:11:30 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-14 07:22:06 +0100 |
commit | 225d08b8790fb0927f9ab360e372f9f34bbddacb (patch) | |
tree | 858c32402580bedac85370a1625c34cee043c6fe /src/udev/meson.build | |
parent | udev: add missing short option name (diff) | |
download | systemd-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.build | 2 |
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 |