From b2fec872deea1e4e08f02ac74df383da3cb6665a Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 24 Oct 2018 13:09:45 +0200 Subject: Add missing install items --- doc/meson.build | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/meson.build (limited to 'doc') diff --git a/doc/meson.build b/doc/meson.build new file mode 100644 index 0000000..0e1b49d --- /dev/null +++ b/doc/meson.build @@ -0,0 +1,12 @@ +if get_option('manpage').enabled() + asciidoctor = find_program('asciidoctor', required: true) + + custom_target('manpage', + input: 'smolbote.7.asciidoc', + output: 'smolbote.7', + command: [asciidoctor, '--backend=manpage', '--out-file=@OUTPUT@', '@INPUT@'], + build_by_default: true, + install: true, install_dir: join_paths(get_option('mandir'), 'man7') + ) + +endif -- cgit v1.2.1