doc/reference/protocols/facebook/meson.build

changeset 42187
fc241db9162d
parent 42186
637ba5491231
child 42188
04c0398f1046
equal deleted inserted replaced
42186:637ba5491231 42187:fc241db9162d
1 facebook_doc_content_files = []
2
3 if get_option('doc')
4 facebook_toml = configure_file(
5 input : 'facebook.toml.in',
6 output : 'facebook.toml',
7 configuration : version_conf,
8 install : true,
9 install_dir : docs_dir / 'facebook',
10 )
11
12 facebook_doc = custom_target('facebook-doc',
13 input : [ facebook_toml, facebook_gir[0] ],
14 output : 'facebook',
15 command : [
16 gidocgen,
17 'generate',
18 '--quiet',
19 '--fatal-warnings',
20 '--config=@INPUT0@',
21 '--output-dir=@OUTPUT@',
22 '--no-namespace-dir',
23 '--content-dir=@0@'.format(meson.current_source_dir()),
24 '--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/gplugin/gplugin'),
25 '--add-include-path=@0@'.format(meson.global_build_root() / 'libpurple'),
26 '@INPUT1@'
27 ],
28 depends: [ libpurple_gir[0] ],
29 depend_files : [ facebook_doc_content_files ],
30 build_by_default : true,
31 install : true,
32 install_dir : docs_dir,
33 )
34 endif
35

mercurial