use meson datadir as lite_datadir base

This commit is contained in:
Jan200101 2024-11-10 17:34:24 +01:00 committed by Takase
parent 00b4527efa
commit dcedce8e6a
1 changed files with 5 additions and 5 deletions

View File

@ -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