Skip to content

Commit

Permalink
Added manpage to Makefile and updated manpage
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Jun 17, 2022
1 parent cc81e74 commit c3afabc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ include config.mk
NAME=wvkbd
BIN=${NAME}-${LAYOUT}
SRC=.
MAN1 = ${NAME}.1

PKGS = wayland-client xkbcommon pangocairo

Expand Down Expand Up @@ -47,3 +48,5 @@ install: all
mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f ${NAME}-${LAYOUT} ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/${NAME}-${LAYOUT}
sed "s/VERSION/${VERSION}/g" < ${MAN1} > ${DESTDIR}${MANPREFIX}/man1/${MAN1}
chmod 644 ${DESTDIR}${MANPREFIX}/man1/${MAN1}
2 changes: 2 additions & 0 deletions config.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
VERSION = 0.8
CFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=700
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
LAYOUT = mobintl
2 changes: 1 addition & 1 deletion wvkbd.1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ set font (e.g: DejaVu Sans 20)
.RE
\fB--hidden\fR
.RS 4
start hidden (send SIGUSR2 to show)
start hidden (send SIGUSR2 to show, SIGUSR1 to hide, SIGRTMIN to toggle)
.P
.RE
\fB-v\fR, \fB--version\fR
Expand Down

0 comments on commit c3afabc

Please sign in to comment.