| 1 |
secret_tool_man = custom_target('secret-tool.1', |
| 2 |
input: 'secret-tool.xml', |
| 3 |
output: 'secret-tool.1', |
| 4 |
command: [ find_program('xsltproc'), |
| 5 |
'-o', '@OUTPUT@', |
| 6 |
'--nonet', |
| 7 |
'--stringparam', 'man.output.quietly', '1', |
| 8 |
'--stringparam', 'man.funcsynopsis.style', 'ansi', |
| 9 |
'--stringparam', 'man.th.extra1.suppress', '1', |
| 10 |
'--stringparam', 'man.authors.section.enabled', '0', |
| 11 |
'--stringparam', 'man.copyright.section.enabled', '0', |
| 12 |
'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl', |
| 13 |
'@INPUT@', |
| 14 |
], |
| 15 |
build_by_default: true, |
| 16 |
install: true, |
| 17 |
install_dir: libsecret_prefix / get_option('mandir') / 'man1', |
| 18 |
) |