meson: Avoid using relative paths to po directory
Replace the relative path to the po directory with a toplevel definition of po_dir and use that instead. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/507
This commit is contained in:
parent
7e00d22bfa
commit
31968ea53c
@ -24,7 +24,7 @@ foreach desktop_file : desktop_files
|
|||||||
configuration: desktopconf
|
configuration: desktopconf
|
||||||
),
|
),
|
||||||
output: desktop_file,
|
output: desktop_file,
|
||||||
po_dir: '../po',
|
po_dir: po_dir,
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: desktopdir,
|
install_dir: desktopdir,
|
||||||
type: 'desktop'
|
type: 'desktop'
|
||||||
|
@ -243,6 +243,8 @@ libgvc = subproject('gvc',
|
|||||||
)
|
)
|
||||||
libgvc_gir = libgvc.get_variable('libgvc_gir')
|
libgvc_gir = libgvc.get_variable('libgvc_gir')
|
||||||
|
|
||||||
|
po_dir = join_paths(meson.current_source_dir(), 'po')
|
||||||
|
|
||||||
subdir('js')
|
subdir('js')
|
||||||
subdir('src')
|
subdir('src')
|
||||||
subdir('po')
|
subdir('po')
|
||||||
|
@ -30,7 +30,7 @@ configure_file(
|
|||||||
i18n.merge_file('evolution-calendar.desktop',
|
i18n.merge_file('evolution-calendar.desktop',
|
||||||
input: 'evolution-calendar.desktop.in',
|
input: 'evolution-calendar.desktop.in',
|
||||||
output: 'evolution-calendar.desktop',
|
output: 'evolution-calendar.desktop',
|
||||||
po_dir: '../../po',
|
po_dir: po_dir,
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: desktopdir,
|
install_dir: desktopdir,
|
||||||
type: 'desktop'
|
type: 'desktop'
|
||||||
|
Loading…
Reference in New Issue
Block a user