]> git.proxmox.com Git - ceph.git/blob - ceph/src/zstd/build/meson/contrib/gen_html/meson.build
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / zstd / build / meson / contrib / gen_html / meson.build
1 # #############################################################################
2 # Copyright (c) 2018-present lzutao <taolzu(at)gmail.com>
3 # All rights reserved.
4 #
5 # This source code is licensed under both the BSD-style license (found in the
6 # LICENSE file in the root directory of this source tree) and the GPLv2 (found
7 # in the COPYING file in the root directory of this source tree).
8 # #############################################################################
9
10 zstd_rootdir = '../../../..'
11
12 gen_html_includes = include_directories(join_paths(zstd_rootdir, 'programs'),
13 join_paths(zstd_rootdir, 'lib'),
14 join_paths(zstd_rootdir, 'lib/common'),
15 join_paths(zstd_rootdir, 'contrib/gen_html'))
16
17 gen_html = executable('gen_html',
18 join_paths(zstd_rootdir, 'contrib/gen_html/gen_html.cpp'),
19 include_directories: gen_html_includes,
20 native: true,
21 install: false)
22
23 # Update zstd manual
24 zstd_manual_html = custom_target('zstd_manual.html',
25 output : 'zstd_manual.html',
26 command : [gen_html,
27 zstd_version,
28 join_paths(meson.current_source_dir(), zstd_rootdir, 'lib/zstd.h'),
29 '@OUTPUT@'],
30 install : false)