
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
229 B
Meson
9 lines
229 B
Meson
custom_target('gnome-extensions.1',
|
|
input: 'gnome-extensions.txt',
|
|
output: 'gnome-extensions.1',
|
|
command: [rst2man, '--syntax-highlight=none', '@INPUT@'],
|
|
capture: true,
|
|
install_dir: mandir + '/man1',
|
|
install: true
|
|
)
|