po/meson.build: add 'po' target

This commit is contained in:
Boris Faure 2020-09-15 21:45:17 +02:00
parent 63ef7228c4
commit a28e825e46
Signed by untrusted user who does not match committer: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 7 additions and 0 deletions

View File

@ -16,3 +16,10 @@ if get_option('nls')
])
config_data.set('ENABLE_NLS', '1')
endif
# maintainer shortcut for updating po stuff
run_target ('po',
command: ['ninja', '-C', meson.build_root(),
meson.project_name() + '-pot',
meson.project_name() + '-update-po']
)