diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-08-21 17:54:04 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-08-21 17:54:04 +0200 |
commit | 99ca8abacf61a7195e227704984ff96a0a868bc3 (patch) | |
tree | c0d67b86728cc20f9c1db10c79a50d8d902c7b30 /man | |
parent | 3bf78101a7e43057df563fe7a234b991e8de80d0 (diff) |
Add version information to manpages
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile | 16 | ||||
-rw-r--r-- | man/feh-cam.pre (renamed from man/feh-cam.1) | 3 | ||||
-rw-r--r-- | man/feh.pre (renamed from man/feh.1) | 4 | ||||
-rw-r--r-- | man/gen-cam-menu.pre (renamed from man/gen-cam-menu.1) | 3 |
4 files changed, 26 insertions, 0 deletions
diff --git a/man/Makefile b/man/Makefile new file mode 100644 index 0000000..35a21b7 --- /dev/null +++ b/man/Makefile @@ -0,0 +1,16 @@ +include ../config.mk + +SOURCES = ${shell echo *.pre} +TARGETS = ${SOURCES:.pre=.1} + +all: ${TARGETS} + +.pre.1: + sed 's/\$$VERSION\$$/${VERSION}/g' < ${@:.1=.pre} > $@ + +clean: + rm *.1 + +.SUFFIXES: .pre .1 + +.PHONY: clean diff --git a/man/feh-cam.1 b/man/feh-cam.pre index a8b01f3..ad21341 100644 --- a/man/feh-cam.1 +++ b/man/feh-cam.pre @@ -10,6 +10,9 @@ .Op Ar options .Ar keys . +.Sh VERSION +This manual documents feh-cam, shipped with feh version $VERSION$ +. .Sh DESCRIPTION .Nm is a perl wrapper for feh which simplifies viewing webcams using keyed @@ -14,6 +14,10 @@ .Ar files or directories ... . . +.Sh VERSION +This manual documents feh $VERSION$ +. +. .Sh DESCRIPTION .Nm is a mode-based image viewer. It is especially aimed at commandline users who diff --git a/man/gen-cam-menu.1 b/man/gen-cam-menu.pre index c8929eb..67460e8 100644 --- a/man/gen-cam-menu.1 +++ b/man/gen-cam-menu.pre @@ -8,6 +8,9 @@ .Sh SYNOPSIS .Nm . +.Sh VERSION +This manual documents gen-cam-menu, shipped with feh version $VERSION$ +. .Sh DESCRIPTION .Nm is a shell script which creates Enlightenment user menu entries for the |