Revise gresources use
[geeqie.git] / src / authors / meson.build
1 # This file is a part of Geeqie project (https://www.geeqie.org/).
2 # Copyright (C) 2008 - 2022 The Geeqie Team
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 #
13
14 authors_sh = join_paths(scriptsdir, 'authors.sh')
15
16 authors_resources = custom_target('authors_resources',
17                 input : 'authors.gresource.xml',
18                 output : ['authors.h', 'authors.c'],
19                 command : [authors_sh, '@PRIVATE_DIR@', meson.current_build_dir() , running_from_git.to_string(), '@INPUT@'])
20
21 project_sources += authors_resources