From dcedce8e6a2c6be788a815470bb3e42988792a07 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Sun, 10 Nov 2024 17:34:24 +0100 Subject: [PATCH] use meson datadir as lite_datadir base --- meson.build | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meson.build b/meson.build index 93fe8fa2..470b34c6 100644 --- a/meson.build +++ b/meson.build @@ -207,17 +207,17 @@ elif get_option('bundle') and host_machine.system() == 'darwin' ) else lite_bindir = 'bin' - lite_docdir = 'share/doc/lite-xl' - lite_datadir = 'share/lite-xl' + lite_docdir = get_option('datadir') + '/doc/lite-xl' + lite_datadir = get_option('datadir') + '/lite-xl' if host_machine.system() == 'linux' install_data('resources/icons/lite-xl.svg', - install_dir : 'share/icons/hicolor/scalable/apps' + install_dir : get_option('datadir') + '/icons/hicolor/scalable/apps' ) install_data('resources/linux/com.lite_xl.LiteXL.desktop', - install_dir : 'share/applications' + install_dir : get_option('datadir') + '/applications' ) install_data('resources/linux/com.lite_xl.LiteXL.appdata.xml', - install_dir : 'share/metainfo' + install_dir : get_option('datadir') + '/metainfo' ) endif endif