mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
Use ronn to convert markdown to a man page This simplifies maintaining the documentation. This fixes #31.
8 lines
316 B
Meson
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
|