3 xml_insert = find_program(
8 index_static_html = configure_file(
9 input : 'index-static.html.in',
10 output: 'index-static.html',
14 babl_css = configure_file(
20 index_html_tmp_env = [
21 'BABL_PATH=' + babl_extensions_build_dir,
24 # Don't build babl ref if cannot run compiled objects in this env
25 if env_bin.found() and can_run_host_binaries
26 index_html_tmp = custom_target('index.html.tmp',
27 input : babl_html_dump,
28 output:'index.html.tmp',
37 warning('Cannot create babl reference in this environment')
38 index_html_tmp = 'index.html.tmp'
43 'index': ['index-static.html.in', [
44 ['AUTHORS', authors_file],
49 'Reference': ['auto', [
50 ['BablBase', index_html_tmp],
59 'Glossary': ['auto', [
62 'ColorManagement': ['auto', [
65 'UnifiedAlpha': ['auto', [
70 foreach _file, _parms : html_files
71 if '@0@'.format(_parms[0]) == 'auto'
72 _in = '@0@-static.html'.format(_file)
76 _out = '@0@.html'.format(_file)
79 foreach _parm : _parms[1]
80 inserts += ['--insert', _parm[0], _parm[1]]
83 _tgt = custom_target(_out,
88 '--output' , '@OUTPUT@',
92 build_by_default: true
99 # gi-docgen API reference