From 1f3b83e2db5a8dfd9c7c88706ecce033e154060a Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Mon, 13 Oct 2025 13:17:46 +0300 Subject: [PATCH] Add option to install config or not --- howdy/src/meson.build | 2 +- meson.options | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/howdy/src/meson.build b/howdy/src/meson.build index 36dc05e3..efdce749 100644 --- a/howdy/src/meson.build +++ b/howdy/src/meson.build @@ -102,7 +102,7 @@ install_data( ) fs = import('fs') -if not fs.exists(config_path) +if get_option('install_config') and not fs.exists(config_path) install_data('config.ini', install_dir: confdir, install_mode: 'rwxr--r--', install_tag: 'config') endif diff --git a/meson.options b/meson.options index 56c8f160..3bbe9f9b 100644 --- a/meson.options +++ b/meson.options @@ -7,5 +7,6 @@ option('log_path', type: 'string', value: '/var/log/howdy', description: 'Set th option('install_in_site_packages', type: 'boolean', value: false, description: 'Install howdy python files in site packages') option('py_sources_dir', type: 'string', value: '', description: 'Set the python sources directory') option('install_pam_config', type: 'boolean', value: false, description: 'Install pam config file (for Debian/Ubuntu)') +option('install_config', type: 'boolean', value: true, description: 'Install Howdy config file') option('python_path', type: 'string', value: '/usr/bin/python', description: 'Set the path to the python executable') option('with_polkit', type: 'boolean', value: false, description: 'Install polkit policy config file')