Change configuration system from Autotools to Meson
[geeqie.git] / doc / 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 guideindex = files('docbook/GuideIndex.xml')
15 destdir = join_paths(meson.project_build_root(), 'doc', 'html/')
16 iconsdir = join_paths(meson.project_source_root(), 'doc', 'icons/')
17
18 run_command(gnome_doc_tool, 'html', '-o', destdir, '-p', iconsdir, guideindex, check : false)
19
20 install_subdir(destdir, install_dir : helpdir, install_tag : 'help')
21
22 srcdir = join_paths(meson.project_source_root())
23 destdir = join_paths(meson.project_build_root(), 'doc', 'html', 'lua-api')
24
25 run_command(find_program('create-doxygen-lua-api.sh'), srcdir, destdir, check : false)
26
27 install_subdir(destdir, install_dir : htmldir, install_tag : 'html')