[Pkg-wmaker-commits] [wmifinfo] 27/49: wmifinfo: Add manpage.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 18 02:07:43 UTC 2015


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

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

commit e382ab41df60c935c830fb18fc6390f7b9a7de4d
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon Dec 8 21:01:48 2014 -0600

    wmifinfo: Add manpage.
    
    Adapted from Debian manpage:
    http://sources.debian.net/src/wmifinfo/0.09-7/debian/wmifinfo.1/
---
 Makefile   |  3 +++
 wmifinfo.1 | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/Makefile b/Makefile
index 38da6c9..80b61c9 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ COPTS = -D'VERSION="$(VERSION)"' -D'NAME="$(NAME)"'
 LDOPTS = -lX11 -lXpm -lXext
 PREFIX = /usr/local
 BINDIR = $(PREFIX)/bin
+MANDIR = $(PREFIX)/share/man
 
 BIN =	wmifinfo
 FILES = wmifinfo.o xutils.o
@@ -42,6 +43,8 @@ clean:
 install:
 	$(INSTALL) -d $(DESTDIR)$(BINDIR)
 	$(INSTALL) $(BIN) $(DESTDIR)$(BINDIR)
+	$(INSTALL) -d $(DESTDIR)$(MANDIR)/man1
+	$(INSTALL) -m 644 wmifinfo.1 $(DESTDIR)$(MANDIR)/man1
 
 dist:	clean
 	rm -rf /tmp/wmifinfo-$(VERSION)
diff --git a/wmifinfo.1 b/wmifinfo.1
new file mode 100644
index 0000000..1a396af
--- /dev/null
+++ b/wmifinfo.1
@@ -0,0 +1,37 @@
+.TH WMIFINFO 1 "June  7, 2002"
+.SH NAME
+wmifinfo \- dockapp for showing basic network info for all available interfaces
+.SH SYNOPSIS
+.B wmifinfo
+[\fIOPTIONS\fR]
+.SH DESCRIPTION
+\fBwmifinfo\fP is is a simple applet showing basic network info for all
+available interfaces.
+It shows IP address, netmask, gateway and MAC address. A bit like ifconfig.
+Left-button click moves to the next interface, right-button click calls
+ifup/ifdown scripts.
+Please report bugs if you find any.
+.SH OPTIONS
+A summary of options is included below.
+.TP
+.B \-h
+Show summary of options.
+.TP
+.B \-v
+Show version of program.
+.TP
+.B \-d <cmd>
+Command to exec for iface-down
+.TP
+.B \-i <interface>
+Start with given interface, if available
+.TP
+.B \-l
+LCD display mode
+.TP
+.B \-u
+Command to exec for iface-up
+.br
+.SH AUTHOR
+This manual page was written by S\[/o]ren Boll Overgaard <boll at debian.org>,
+for the Debian GNU/Linux system (but may be used by others).

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



More information about the Pkg-wmaker-commits mailing list