wmitime: Add manpage.

Adapted from Debian [1].

[1] http://sources.debian.net/src/wmitime/0.3%2B20120605-1/debian/wmitime.1/
This commit is contained in:
Doug Torrance 2014-12-20 01:57:08 -06:00 committed by Carlos R. Mafra
parent 5cbe821b8c
commit 2d363c7607
2 changed files with 37 additions and 0 deletions

View file

@ -7,6 +7,7 @@ OBJS = wmitime.o \
INSTALL = install
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man/man1
.c.o:
$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $*.o
@ -26,4 +27,6 @@ clean::
install:: wmitime
$(INSTALL) -d $(DESTDIR)$(BINDIR)
$(INSTALL) wmitime $(DESTDIR)$(BINDIR)
$(INSTALL) -d $(DESTDIR)$(MANDIR)
$(INSTALL) -m 644 wmitime.1 $(DESTDIR)$(MANDIR)
@echo "wmitime Installation finished..."

34
wmitime/wmitime.1 Normal file
View file

@ -0,0 +1,34 @@
.TH wmitime 1 "2014-12-19" "wmitime" "User Commands"
.SH "NAME"
wmitime \- Window Maker dock app displaying date, clock and internet time
.SH "SYNOPSIS"
.B wmitime
[\fI\,options\/\fR]
.SH "DESCRIPTION"
WMitime is yet another clock dock app, which shows standard time,
date, as well as the new internet time <http://www.swatch.com/>.
.SH "OPTIONS"
.TP
\fB\-12\fR
12\-hour mode
.TP
\fB\-display\fR <display name>
Specify X display
.TP
\fB\-geometry\fR +XPOS+YPOS
Initial window position.
.TP
\fB\-l\fR <locale>
Specify locale.
.TP
\fB\-h\fR
Print available options.
.TP
\fB\-v\fR
Print the version number.
.SH "SEE ALSO"
.BR wmtime (1)
.SH "AUTHORS"
This manual page was written by Lenart Janos <ocsi@debian.org>, for
the Debian GNU system (but may be used by others). Updated by Jari
Aalto <jari.aalto@cante.net>.