
It's as human-readable as asciidoc and produces the same results, but the tooling is more widely supported. Also both GLib and GTK switched to it for their man pages, so rst2man is already a dependency of the platform. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3454>
9 lines
209 B
Meson
9 lines
209 B
Meson
custom_target('man page',
|
|
input: 'gnome-shell.txt',
|
|
output: 'gnome-shell.1',
|
|
command: [rst2man, '--syntax-highlight=none', '@INPUT@'],
|
|
capture: true,
|
|
install_dir: mandir + '/man1',
|
|
install: true
|
|
)
|