Skip to contentSkip to conversation

keytable: meson not passing rc_keymaps system directory

PATCH New Rudi Heitbaum 1 participant 1 message Dec 9, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 keytable: meson not passing rc_keymaps system directory

In the meson build ir_keytable_system_dir is used as the parent directory for both rc_keymaps and rules.d, whereas udevrulesdir was defined sepeartely in the configure script. Update the -DIR_KEYTABLE_SYSTEM_DIR to include the rc_keymaps subdirectory aligning with the install_data functions.

---
 utils/keytable/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utils/keytable/meson.build +1 -1
index 0ca08a18..4130a4be 100644
@@ -17,7 +17,7 @@ ir_keytable_system_dir = udevdir
 ir_keytable_user_dir = get_option('sysconfdir') / 'rc_keymaps'
 
 ir_keytable_c_args = [
-    '-DIR_KEYTABLE_SYSTEM_DIR="@0@"'.format(ir_keytable_system_dir),
+    '-DIR_KEYTABLE_SYSTEM_DIR="@0@"'.format(ir_keytable_system_dir / 'rc_keymaps'),
     '-DIR_KEYTABLE_USER_DIR="@0@"'.format(ir_keytable_user_dir),
 ]
 
Signature · 1 line
2.34.1