From 30ab9d789a351eda24171cf358c52a94791f746f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 11 Jun 2024 23:18:48 +0200 Subject: Install files: respect prefix --- meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 6afc53e..96936fc 100644 --- a/meson.build +++ b/meson.build @@ -25,7 +25,7 @@ dep = [ executable('gpu-screen-recorder-gtk', src, dependencies : dep, install : true) -install_data(files('gpu-screen-recorder-gtk.desktop'), install_dir : '/usr/share/applications') -install_data(files('com.dec05eba.gpu_screen_recorder.appdata.xml'), install_dir : '/usr/share/metainfo') - -install_subdir('icons/hicolor', install_dir : '/usr/share/icons') +prefix = get_option('prefix') +install_data(files('gpu-screen-recorder-gtk.desktop'), install_dir : join_paths(prefix, 'share/applications')) +install_data(files('com.dec05eba.gpu_screen_recorder.appdata.xml'), install_dir : join_paths(prefix, 'share/metainfo')) +install_subdir('icons/hicolor', install_dir : join_paths(prefix, 'share/icons')) -- cgit v1.2.3