espeakup/doc/meson.build
Alexander Epaneshnikov ca1d6b42e2 generate man page from markdown
Use ronn to convert markdown to a man page
This simplifies maintaining the documentation.

This fixes #31.
2021-06-19 01:34:18 -05:00

8 lines
316 B
Meson

ronn = find_program('ronn', required: get_option('man'))
if ronn.found()
custom_target('man', input:files('espeakup.8.ronn'),
output:'espeakup.8',
command:[ronn, '--output-dir', '@OUTDIR@', '--roff', '@INPUT@'],
install: true, install_dir: join_paths(get_option('mandir'),'man8'))
endif