commit ffd2961abe9ab36d5bbc05fe8fc4bc3f7d4db833
parent fce61e7c6d6e56669581a3812421fc0521397399
Author: Kris Maglione <jg@suckless.org>
Date: Fri, 9 Oct 2009 16:20:23 -0400
Add version to man page headers.
Diffstat:
8 files changed, 10 insertions(+), 115 deletions(-)
diff --git a/man/Makefile b/man/Makefile
@@ -3,12 +3,8 @@ include ${ROOT}/mk/hdr.mk
include ${ROOT}/mk/wmii.mk
TARG = wmii.1 \
- wmiir.1 \
wimenu.1
-wmiir.1:
- true
-
$(TARG): Makefile $(ROOT)/mk/wmii.mk header.t2t
include ${ROOT}/mk/man.mk
diff --git a/man/wimenu.1 b/man/wimenu.1
@@ -1,4 +1,4 @@
-.TH "WMII" 1 "May, 2009" ""
+.TH "WIMENU" 1 "Oct, 2009" "wmii-@VERSION@"
.SH NAME
.P
diff --git a/man/wimenu.man1 b/man/wimenu.man1
@@ -1,6 +1,6 @@
-WMII
-
-May, 2009
+WIMENU
+wmii-@VERSION@
+Oct, 2009
%!includeconf: header.t2t
diff --git a/man/wmii.1 b/man/wmii.1
@@ -1,8 +1,8 @@
-.TH "WMII" 1 "Dec, 2008" ""
+.TH "WMII" 1 "Oct, 2009" "wmii-@VERSION@"
.SH NAME
.P
-wmii \- Window Manager Improved Improved
+wmii \- Window Manager Improved²
.SH SYNOPSIS
.P
diff --git a/man/wmii.man1 b/man/wmii.man1
@@ -1,12 +1,12 @@
WMII
-
-Dec, 2008
+wmii-@VERSION@
+Oct, 2009
%!includeconf: header.t2t
= NAME =
-wmii - Window Manager Improved Improved
+wmii - Window Manager Improved²
= SYNOPSIS =
diff --git a/man/wmiir.1 b/man/wmiir.1
@@ -1,51 +0,0 @@
-.TH WMIIR 1 wmii-VERSION
-.SH NAME
-wmiir \(em wrapper script for ixpc
-.SH SYNOPSIS
-.B wmiir
-.RB [ \-a
-.IR address ]
-.I action
-.I file
-.br
-.B wmiir
-.B \-v
-.SH DESCRIPTION
-.SS Overview
-.B wmiir
-is a wrapper script for
-.BR ixpc (1)
-to conveniently access the filesystem of
-.BR wmiiwm (1)
-from the command line or from shell
-scripts. It can be used to configure
-.BR wmii (1).
-
-.SS Options
-See the manual page of
-.BR ixpc (1) .
-.SH ENVIRONMENT
-.TP
-WMII_ADDRESS
-The address of the wmiiwm file server to which wmiir will connect.
-.SH EXAMPLES
-.TP
-.B wmiir ls /
-This prints the root directory of the wmii filesystem. For more information
-about the contents of this filesystem, see
-.BR wmiiwm (1).
-.TP
-.B echo -n quit | wmiir write /ctl
-Write 'quit' to the main control file of the wmii filesystem, effectively
-leaving wmii.
-.TP
-.B echo -n view 2 | wmiir write /ctl
-Bring into view all clients tagged '2'. To learn about clients and
-tags, see
-.BR wmii (1).
-.SH SEE ALSO
-.BR wmii (1),
-.BR ixpc (1),
-.BR wmiiwm (1)
-
-http://www.cs.bell-labs.com/sys/man/5/INDEX.html
diff --git a/man/wmiir.man1 b/man/wmiir.man1
@@ -1,51 +0,0 @@
-.TH WMIIR 1 wmii-hg2287
-.SH NAME
-wmiir \(em wrapper script for ixpc
-.SH SYNOPSIS
-.B wmiir
-.RB [ \-a
-.IR address ]
-.I action
-.I file
-.br
-.B wmiir
-.B \-v
-.SH DESCRIPTION
-.SS Overview
-.B wmiir
-is a wrapper script for
-.BR ixpc (1)
-to conveniently access the filesystem of
-.BR wmiiwm (1)
-from the command line or from shell
-scripts. It can be used to configure
-.BR wmii (1).
-
-.SS Options
-See the manual page of
-.BR ixpc (1) .
-.SH ENVIRONMENT
-.TP
-WMII_ADDRESS
-The address of the wmiiwm file server to which wmiir will connect.
-.SH EXAMPLES
-.TP
-.B wmiir ls /
-This prints the root directory of the wmii filesystem. For more information
-about the contents of this filesystem, see
-.BR wmiiwm (1).
-.TP
-.B echo -n quit | wmiir write /ctl
-Write 'quit' to the main control file of the wmii filesystem, effectively
-leaving wmii.
-.TP
-.B echo -n view 2 | wmiir write /ctl
-Bring into view all clients tagged '2'. To learn about clients and
-tags, see
-.BR wmii (1).
-.SH SEE ALSO
-.BR wmii (1),
-.BR ixpc (1),
-.BR wmiiwm (1)
-
-http://www.cs.bell-labs.com/sys/man/5/INDEX.html
diff --git a/mk/wmii.mk b/mk/wmii.mk
@@ -11,6 +11,7 @@ CFLAGS += '-DVERSION=\"$(VERSION)\"' '-DCOPYRIGHT=\"$(COPYRIGHT)\"' \
FILTER = sed "s|@CONFPREFIX@|$(ETC)|g; \
s|@CONFVERSION@|$(CONFVERSION)|g; \
s|@DOCDIR@|$(DOC)|g; \
+ s|@VERSION@|$(VERSION)|g; \
s|@LIBDIR@|$(LIBDIR)|g; \
s|@BINSH@|$(BINSH)|g; \
s|@TERMINAL@|$(TERMINAL)|g;"