[Pkg-wmaker-commits] [wmitime] 111/127: wmitime: Add manpage.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Aug 22 01:34:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmitime.

commit f6fbb4b06e5383c8c111649e37e1a072afdacf8e
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sat Dec 20 01:57:08 2014 -0600

    wmitime: Add manpage.
    
    Adapted from Debian [1].
    
    [1] http://sources.debian.net/src/wmitime/0.3%2B20120605-1/debian/wmitime.1/
---
 Makefile  |  3 +++
 wmitime.1 | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/Makefile b/Makefile
index e9029c0..2cb6164 100644
--- a/Makefile
+++ b/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.1 b/wmitime.1
new file mode 100644
index 0000000..50e71d3
--- /dev/null
+++ b/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 <ocsi at debian.org>, for
+the Debian GNU system (but may be used by others). Updated by Jari
+Aalto <jari.aalto at cante.net>.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmitime.git



More information about the Pkg-wmaker-commits mailing list