Commit 7094de03 authored by Federico Bruni's avatar Federico Bruni

remove deprecated 'languages' parameter of gnome.yelp()

Since version 0.43 Meson automatically reads the LINGUAS file.
parent c1bc3ee9
......@@ -18,21 +18,7 @@ geary_help_media = [
'figures/geary.svg'
]
# Meson 0.44 added support for automatically reading LINGUAS, until we
# can depend on that, read it in outselves. Note this means if you
# change LINGUAS, you will need remove your build directory and re-run
# meson for it to be picked up.
linguas = run_command(['cat', 'LINGUAS']).stdout().strip()
langs = []
foreach line : linguas.split('\n')
line = line.strip()
if not line.startswith('#')
langs += line
endif
endforeach
gnome.yelp(meson.project_name(),
languages: langs,
sources: geary_help_pages,
media: geary_help_media
)
project('geary', [ 'vala', 'c' ],
version: '0.13-dev',
license: 'LGPL2.1+',
meson_version: '>= 0.41',
meson_version: '>= 0.43',
)
gnome = import('gnome')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment