From e9010ca5302fd15d8dd4e039eff3a7c7a8f6f286 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 22 Aug 2010 09:30:00 +0200 Subject: man: Automatically set dates --- man/Makefile | 1 + man/feh-cam.pre | 2 +- man/feh.pre | 2 +- man/gen-cam-menu.pre | 2 +- 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 . -- cgit v1.2.3