raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5d0b5fe20fbb3fc14e595f7cd37eb3d925da9b57

commit 5d0b5fe20fbb3fc14e595f7cd37eb3d925da9b57
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Tue Apr 28 17:52:42 2020 +0100

    add option to install system.conf like sysactions.conf
---
 data/etc/meson.build | 8 +++++---
 meson_options.txt    | 4 ++++
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/data/etc/meson.build b/data/etc/meson.build
index 726d29a88..7d232df19 100644
--- a/data/etc/meson.build
+++ b/data/etc/meson.build
@@ -27,6 +27,8 @@ if get_option('install-enlightenment-menu')
               )
 endif
 
-install_data('system.conf',
-             install_dir: join_paths(dir_sysconf, 'enlightenment')
-             )
+if get_option('install-system')
+  install_data('system.conf',
+               install_dir: join_paths(dir_sysconf, 'enlightenment')
+              )
+endif
diff --git a/meson_options.txt b/meson_options.txt
index 3a077e8a7..2f2732b24 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -2,6 +2,10 @@ option('install-sysactions',
        type: 'boolean',
        value: true,
        description: 'install /etc/enlightenment/sysactions.conf: 
(default=true)')
+option('install-system',
+       type: 'boolean',
+       value: true,
+       description: 'install /etc/enlightenment/system.conf: (default=true)')
 option('install-enlightenment-menu',
        type: 'boolean',
        value: true,

-- 


Reply via email to