1 if get_option('enable-gtk-doc')
4 main_xml: 'dconf-docs.xml',
9 dependencies: libdconf_dep,
10 scan_args: '--rebuild-types',
11 gobject_typesfile: 'dconf.types',
13 install_dir: join_paths(dconf_prefix, gnome.gtkdoc_html_dir('dconf')),
18 xsltproc = find_program('xsltproc', required: false)
19 assert(xsltproc.found(), 'xsltproc is required for man generation')
23 '--output', '@OUTPUT@',
25 '--stringparam', 'man.output.quietly', '1',
26 '--stringparam', 'funcsynopsis.style', 'ansi',
27 '--stringparam', 'man.th.extra1.suppress', '1',
28 '--stringparam', 'man.authors.section.enabled', '0',
29 '--stringparam', 'man.copyright.section.enabled', '0',
30 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl',
35 ['dconf-service.xml', 'dconf-service', '1'],
36 ['dconf-tool.xml', 'dconf', '1'],
37 ['dconf-overview.xml', 'dconf', '7'],
41 output = '@0@.@1@'.format(man[1], man[2])
42 man_dir = 'man' + man[2]
48 command: xsltproc_cmd,
50 install_dir: join_paths(dconf_mandir, man_dir),