mirror of
https://github.com/yshui/picom.git
synced 2024-11-18 13:55:36 -05:00
man: use more commonly used asciidoc file extension .adoc
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
5efb3e0448
commit
c29e1a4c3d
4 changed files with 10 additions and 4 deletions
|
@ -2,12 +2,18 @@ mans = ['picom.1', 'picom-inspect.1', 'picom-trans.1']
|
|||
if get_option('with_docs')
|
||||
a2x = find_program('asciidoctor')
|
||||
foreach m : mans
|
||||
custom_target(m, output: [m], input: [m+'.asciidoc'],
|
||||
custom_target(m, output: [m], input: [m+'.adoc'],
|
||||
command: [a2x, '-a',
|
||||
'picom-version='+version,
|
||||
'--backend', 'manpage', '@INPUT@', '-D',
|
||||
meson.current_build_dir()],
|
||||
install: true,
|
||||
install_dir: join_paths(get_option('mandir'), 'man1'))
|
||||
custom_target(m+'.html', output: [m+'.html'], input: [m+'.adoc'],
|
||||
command: [a2x, '-a',
|
||||
'picom-version='+version,
|
||||
'--backend', 'html', '@INPUT@', '-D',
|
||||
meson.current_build_dir()],
|
||||
install_dir: get_option('datadir') / 'doc' / 'picom')
|
||||
endforeach
|
||||
endif
|
||||
|
|
|
@ -37,4 +37,4 @@ Homepage: <https://github.com/yshui/picom>
|
|||
|
||||
SEE ALSO
|
||||
--------
|
||||
*xcompmgr*(1), xref:picom.1.asciidoc[*picom*(1)]
|
||||
*xcompmgr*(1), xref:picom.1.adoc[*picom*(1)]
|
|
@ -111,4 +111,4 @@ Please submit bug reports to <https://github.com/yshui/picom>.
|
|||
|
||||
SEE ALSO
|
||||
--------
|
||||
xref:picom.1.asciidoc[*picom*(1)], *xprop*(1), *xwininfo*(1)
|
||||
xref:picom.1.adoc[*picom*(1)], *xprop*(1), *xwininfo*(1)
|
|
@ -559,4 +559,4 @@ Homepage: <https://github.com/yshui/picom>
|
|||
|
||||
SEE ALSO
|
||||
--------
|
||||
*xcompmgr*(1), xref:picom-inspect.1.asciidoc[*picom-inspect*(1)], xref:picom-trans.1.asciidoc[*picom-trans*(1)]
|
||||
*xcompmgr*(1), xref:picom-inspect.1.adoc[*picom-inspect*(1)], xref:picom-trans.1.adoc[*picom-trans*(1)]
|
Loading…
Reference in a new issue