diff --git a/data/meson.build b/data/meson.build index 0a066f932..9f74aca3f 100644 --- a/data/meson.build +++ b/data/meson.build @@ -1,7 +1,7 @@ gresource = gnome.compile_resources( 'music-resources', 'music.gresource.xml', - source_dir: join_paths(meson.source_root(), 'data') + source_dir: join_paths(meson.project_source_root(), 'data') ) install_data( @@ -13,7 +13,7 @@ install_data( i18n.merge_file( input: 'music.desktop.in', output: meson.project_name() + '.desktop', - po_dir: join_paths(meson.source_root(), 'po', 'extra'), + po_dir: join_paths(meson.project_source_root(), 'po', 'extra'), type: 'desktop', install: true, install_dir: join_paths(get_option('datadir'), 'applications') @@ -22,7 +22,7 @@ i18n.merge_file( i18n.merge_file( input: 'music.metainfo.xml.in', output: meson.project_name() + '.metainfo.xml', - po_dir: meson.source_root() / 'po' / 'extra', + po_dir: meson.project_source_root() / 'po' / 'extra', type: 'xml', install: true, install_dir: get_option('datadir') / 'metainfo', diff --git a/po/extra/meson.build b/po/extra/meson.build index 8933523da..30590b60b 100644 --- a/po/extra/meson.build +++ b/po/extra/meson.build @@ -1,5 +1,5 @@ i18n.gettext('extra', - args: '--directory='+meson.source_root(), + args: '--directory='+meson.project_source_root(), install: false, preset: 'glib' ) diff --git a/po/meson.build b/po/meson.build index b370f7945..023d52da5 100644 --- a/po/meson.build +++ b/po/meson.build @@ -1,5 +1,5 @@ i18n.gettext(meson.project_name(), - args: '--directory=' + meson.source_root(), + args: '--directory=' + meson.project_source_root(), preset: 'glib' ) subdir('extra')