chiark / gitweb /
meson: use dashes in colour names
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 2 Mar 2018 08:09:29 +0000 (09:09 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:59:12 +0000 (07:59 +0200)
meson.build
meson_options.txt

index ae380c5eb0cc19f217a45de85cb6fa9006f86fd9..74fe25171dcfc623a6d89de9bfbec8b8b5b78f4e 100644 (file)
@@ -230,7 +230,7 @@ conf.set_quoted('SYSTEM_CONFIG_UNIT_PATH',                    join_paths(pkgsysc
 # conf.set_quoted('RC_LOCAL_SCRIPT_PATH_START',                 get_option('rc-local'))
 # conf.set_quoted('RC_LOCAL_SCRIPT_PATH_STOP',                  get_option('halt-local'))
 # 
-# conf.set('ANSI_OK_COLOR', 'ANSI_' + get_option('ok-color').to_upper())
+# conf.set('ANSI_OK_COLOR',                                     'ANSI_' + get_option('ok-color').underscorify().to_upper())
 # 
 # conf.set_quoted('USER_CONFIG_UNIT_PATH',                      join_paths(pkgsysconfdir, 'user'))
 # conf.set_quoted('USER_DATA_UNIT_PATH',                        userunitdir)
index 2b973251b45c9b4a71226bae0e079d23a46f8e6c..bbaeeb6904f9ee65a995e7f00131cff3c41d140d 100644 (file)
@@ -361,9 +361,9 @@ option('install-tests', type : 'boolean', value : 'false',
 
 option('ok-color', type: 'combo',
        choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan',
-                  'white', 'highlight_black', 'highlight_red', 'highlight_green',
-                  'highlight_yellow', 'highlight_blue', 'highlight_magenta',
-                  'highlight_cyan', 'highlight_white'],
+                  'white', 'highlight-black', 'highlight-red', 'highlight-green',
+                  'highlight-yellow', 'highlight-blue', 'highlight-magenta',
+                  'highlight-cyan', 'highlight-white'],
        value : 'green',
        description: 'color of the "OK" status message')