diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-02-12 17:30:43 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-02-12 17:35:20 +0000 |
commit | 7cd28955a076f08b6b9fa999429a2a506e314af0 (patch) | |
tree | 73c3a5902d031d91acba3e1f85801deba2d3fe4b /meson_options.txt | |
parent | 02d730604dd3c99770d04d9ba79e7ba4eeed1854 (diff) |
build: allow installing examples to be disabled
In Nixpkgs, sysconfdir is not writeable in the sandbox in which
packages are built, so it's important for us to be able to disable
installing example files. (We create configuration files and install
them into /etc separately through our "module system".)
Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 3c8b888b..4181f9e5 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -4,6 +4,7 @@ option('udev', type: 'boolean', value: true, description: 'enable udev support') option('udevdir', type: 'string', value: '', description: 'udev base directory') +option('examples', type: 'boolean', value: true, description: 'install examples') option('tests', type: 'boolean', value: true, description: 'enable tests') option('dbus_policy_dir', type: 'string', value: '', description: 'd-bus system policy directory') |