Fix meson targets for contractor contract

This commit is contained in:
Greg V 2019-01-09 12:50:13 +03:00
parent f09e5d7c6d
commit b8ae8865ea
2 changed files with 2 additions and 1 deletions

View file

@ -25,7 +25,7 @@ if install_contractor_file
# Description field. See merge req !50.
msgfmt = find_program('msgfmt')
custom_target(
custom_target('geary-attach-contract',
input: 'geary-attach.contract.desktop.in',
output: 'geary-attach.contract',
command: [msgfmt, '--desktop', '--keyword=Description', '--template', '@INPUT@', '-d', po_dir, '-o', '@OUTPUT@'],

View file

@ -20,6 +20,7 @@ cc = meson.get_compiler('c')
valac = meson.get_compiler('vala')
config_h_dir = include_directories('.')
geary_prefix = get_option('prefix')
bindir = join_paths(geary_prefix, get_option('bindir'))
datadir = join_paths(geary_prefix, get_option('datadir'))
libdir = join_paths(geary_prefix, get_option('libdir'))
locale_dir = join_paths(geary_prefix, get_option('localedir'))