summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/Makefile16
-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
diff --git a/man/feh.1 b/man/feh.pre
index 88fd49d..3ddc291 100644
--- a/man/feh.1
+++ b/man/feh.pre
@@ -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