extensions-tool: Use adoc extension for manpage

More specific extension allows text editors to enable syntax
highlighting, as well as for GitLab to display rendered document.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/992
This commit is contained in:
Jan Tojnar 2020-02-11 03:18:45 +01:00
parent 224ab2e543
commit 56265e91d6
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
custom_target('gnome-extensions.1', custom_target('gnome-extensions.1',
input: ['gnome-extensions.txt', 'stylesheet.xsl'], input: ['gnome-extensions.adoc', 'stylesheet.xsl'],
output: 'gnome-extensions.1', output: 'gnome-extensions.1',
command: [a2x, '-D', '@OUTDIR@', '--xsl-file', '@INPUT1@', '-f', 'manpage', '@INPUT0@'], command: [a2x, '-D', '@OUTDIR@', '--xsl-file', '@INPUT1@', '-f', 'manpage', '@INPUT0@'],
install_dir: mandir + '/man1', install_dir: mandir + '/man1',