Adapted from Debian [1].
[1] http://sources.debian.net/src/wmitime/0.3%2B20120605-1/debian/wmitime.1/
---
wmitime/Makefile | 3 +++
wmitime/wmitime.1 | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
create mode 100644 wmitime/wmitime.1
diff --git a/wmitime/Makefile b/wmitime/Makefile
index e9029c0..2cb6164 100644
--- a/wmitime/Makefile
+++ b/wmitime/Makefile
@@ -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..."
diff --git a/wmitime/wmitime.1 b/wmitime/wmitime.1
new file mode 100644
index 0000000..50e71d3
--- /dev/null
+++ b/wmitime/wmitime.1
@@ -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 <[email protected]>, for
+the Debian GNU system (but may be used by others). Updated by Jari
+Aalto <[email protected]>.
--
2.1.0
--
To unsubscribe, send mail to [email protected].