1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

meson: Fix update-manpage target

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2017-07-17 10:06:20 +02:00
parent 1e92dd8923
commit d7d239d808
No known key found for this signature in database
GPG key ID: AC203F96E2C34BB7
6 changed files with 8 additions and 8 deletions

View file

@ -222,9 +222,9 @@ EXTRA_DIST+=\
##
update-manpage: $(top_srcdir)/doc/rofi-manpage.markdown $(top_srcdir)/doc/rofi-theme-manpage.markdown
ronn --roff --pipe $(top_srcdir)/doc/rofi-manpage.markdown > $(top_srcdir)/doc/rofi.1
ronn --roff --pipe $(top_srcdir)/doc/rofi-theme-manpage.markdown > $(top_srcdir)/doc/rofi-theme.5
update-manpage: $(top_srcdir)/doc/rofi.1.markdown $(top_srcdir)/doc/rofi-theme.5.markdown
ronn --roff $(top_srcdir)/doc/rofi.1.markdown
ronn --roff $(top_srcdir)/doc/rofi-theme.5.markdown
##
# Rofi test program

View file

@ -1,9 +1,9 @@
ronn = find_program('ronn', required: false)
if ronn.found()
run_target('update-manpage',
command: [ ronn, files(
'rofi-manpage.markdown',
'rofi-theme-manpage.markdown',
command: [ ronn, '--roff', files(
'rofi.1.markdown',
'rofi-theme.5.markdown',
)]
)
endif

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "ROFI\-THEME\-MANPAGE" "" "May 2017" "" ""
.TH "ROFI\-THEME" "5" "May 2017" "" ""
.
.SH "NAME"
\fBrofi\-theme\fR \- Rofi theme format files

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "ROFI\-MANPAGE" "" "April 2017" "" ""
.TH "ROFI" "1" "July 2017" "" ""
.
.SH "NAME"
\fBrofi\fR \- A window switcher, application launcher, ssh dialog and dmenu replacement