summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-08-22 09:30:00 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-08-22 09:30:00 +0200
commite9010ca5302fd15d8dd4e039eff3a7c7a8f6f286 (patch)
tree7227009d2d328c1f6ee3435cc872630c87745296
parente48ae6de312dbd77e84f7cbc6cf2d4f70a24e703 (diff)
downloadfeh-e9010ca5302fd15d8dd4e039eff3a7c7a8f6f286.zip
man: Automatically set dates
-rw-r--r--man/Makefile1
-rw-r--r--man/feh-cam.pre2
-rw-r--r--man/feh.pre2
-rw-r--r--man/gen-cam-menu.pre2
4 files changed, 4 insertions, 3 deletions
diff --git a/man/Makefile b/man/Makefile
index 35a21b7..b7d8269 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -7,6 +7,7 @@ all: ${TARGETS}
.pre.1:
sed 's/\$$VERSION\$$/${VERSION}/g' < ${@:.1=.pre} > $@
+ sed 's/\$$DATE\$$/'"$$(date '+%B %d, %Y')"/g < ${@:.1=.pre} > $@
clean:
rm *.1
diff --git a/man/feh-cam.pre b/man/feh-cam.pre
index ad21341..40e87a7 100644
--- a/man/feh-cam.pre
+++ b/man/feh-cam.pre
@@ -1,4 +1,4 @@
-.Dd April 12, 2010
+.Dd $DATE$
.Dt FEH-CAM 1
.Os
.
diff --git a/man/feh.pre b/man/feh.pre
index fcb2b95..c99a0f4 100644
--- a/man/feh.pre
+++ b/man/feh.pre
@@ -1,4 +1,4 @@
-.Dd April 13, 2010
+.Dd $DATE$
.Dt FEH 1
.Os
.
diff --git a/man/gen-cam-menu.pre b/man/gen-cam-menu.pre
index 67460e8..8e6b684 100644
--- a/man/gen-cam-menu.pre
+++ b/man/gen-cam-menu.pre
@@ -1,4 +1,4 @@
-.Dd April 12, 2010
+.Dd $DATE$
.Dt GEN-CAM-Menu 1
.Os
.