From 2d363c760741fcd2488750f3fd7f8c2e69ec4c8d Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Sat, 20 Dec 2014 01:57:08 -0600 Subject: [PATCH] wmitime: Add manpage. 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 . +.SH "OPTIONS" +.TP +\fB\-12\fR +12\-hour mode +.TP +\fB\-display\fR +Specify X display +.TP +\fB\-geometry\fR +XPOS+YPOS +Initial window position. +.TP +\fB\-l\fR +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 , for +the Debian GNU system (but may be used by others). Updated by Jari +Aalto .