libsecret/docs/man/meson.build
Niels De Graef b19c309096 Add build support for Meson
To build with meson, use the following commands:

```
$ meson build
$ ninja -C build
 # in case you want to install
$ ninja -C build install
```
2019-01-19 21:03:56 +00:00

19 lines
670 B
Meson

secret_tool_man = custom_target('secret-tool.1',
input: 'secret-tool.xml',
output: 'secret-tool.1',
command: [ find_program('xsltproc'),
'-o', '@OUTPUT@',
'--nonet',
'--stringparam', 'man.output.quietly', '1',
'--stringparam', 'man.funcsynopsis.style', 'ansi',
'--stringparam', 'man.th.extra1.suppress', '1',
'--stringparam', 'man.authors.section.enabled', '0',
'--stringparam', 'man.copyright.section.enabled', '0',
'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl',
'@INPUT@',
],
build_by_default: true,
install: true,
install_dir: join_paths(libsecret_prefix, get_option('mandir'), 'man1'),
)