mirror of
https://github.com/yshui/picom.git
synced 2024-11-25 14:06:08 -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')
|
if get_option('with_docs')
|
||||||
a2x = find_program('asciidoctor')
|
a2x = find_program('asciidoctor')
|
||||||
foreach m : mans
|
foreach m : mans
|
||||||
custom_target(m, output: [m], input: [m+'.asciidoc'],
|
custom_target(m, output: [m], input: [m+'.adoc'],
|
||||||
command: [a2x, '-a',
|
command: [a2x, '-a',
|
||||||
'picom-version='+version,
|
'picom-version='+version,
|
||||||
'--backend', 'manpage', '@INPUT@', '-D',
|
'--backend', 'manpage', '@INPUT@', '-D',
|
||||||
meson.current_build_dir()],
|
meson.current_build_dir()],
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: join_paths(get_option('mandir'), 'man1'))
|
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
|
endforeach
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -37,4 +37,4 @@ Homepage: <https://github.com/yshui/picom>
|
||||||
|
|
||||||
SEE ALSO
|
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
|
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
|
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