meson, data: create/install gimp-release file with meson too.

This commit is contained in:
Jehan 2020-02-14 00:58:22 +01:00
parent f98e506712
commit b79e147923
3 changed files with 11 additions and 2 deletions

View file

@ -14,3 +14,13 @@ subdir('tool-presets')
meson.add_install_script('sh', '-c',
'mkdir -p $MESON_INSTALL_DESTDIR_PREFIX/@0@'.format(gimpdatadir / 'fonts')
)
custom_target('gimp-release',
output: [ 'gimp-release' ],
command: [
'echo', ['[package]' + '\nrevision=@0@'.format(get_option('revision'))]
],
capture: true,
install: true,
install_dir: gimpdatadir,
)