From d7bfff1154ce8dac89c79729d495d8cd0a8f1a6a Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Sun, 20 Jul 2014 00:14:33 +0100 Subject: Restore splicing of dates into man pages --- doc/Makefile.am | 2 +- doc/ncpd.man.in | 2 -- doc/plpftp.man.in | 2 -- doc/plpfuse.man.in | 2 -- doc/plpprintd.man.in | 2 -- doc/sisinstall.man.in | 2 -- 6 files changed, 1 insertion(+), 11 deletions(-) (limited to 'doc') diff --git a/doc/Makefile.am b/doc/Makefile.am index 6eb3b3d..28fa5a3 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -7,7 +7,7 @@ man_MANS += plpfuse.8 endif edit = sed \ - -e 's%@MANDATE@%'`grep CHECKIN $< | $(AWK) '{print $$4}'`'%g' \ + -e 's|@MANDATE@|'`git log --pretty=format:"%ad" --date=short -1 $<.in`'|g' \ -e 's|@pkgdatadir[@]|$(pkgdatadir)|g' %.1: %.man Makefile diff --git a/doc/ncpd.man.in b/doc/ncpd.man.in index 21bf39f..e8de8a5 100644 --- a/doc/ncpd.man.in +++ b/doc/ncpd.man.in @@ -1,6 +1,4 @@ .\" Manual page for ncpd -.\" $Id$ -.\" CHECKIN $Date$ .\" .\" Process this file with .\" groff -man -Tascii ncpd.8 for ASCII output, or diff --git a/doc/plpftp.man.in b/doc/plpftp.man.in index b52296f..e7b0cf8 100644 --- a/doc/plpftp.man.in +++ b/doc/plpftp.man.in @@ -1,6 +1,4 @@ .\" Manual page for plpftp -.\" $Id$ -.\" CHECKIN $Date$ .\" .\" Process this file with .\" groff -man -Tascii plpftp.1 for ASCII output, or diff --git a/doc/plpfuse.man.in b/doc/plpfuse.man.in index 316461f..10d176d 100644 --- a/doc/plpfuse.man.in +++ b/doc/plpfuse.man.in @@ -1,6 +1,4 @@ .\" Manual page for plpfuse -.\" $Id$ -.\" CHECKIN $Date$ .\" .\" Process this file with .\" groff -man -Tascii plpfuse.8 for ASCII output, or diff --git a/doc/plpprintd.man.in b/doc/plpprintd.man.in index 6243874..ea1cd28 100644 --- a/doc/plpprintd.man.in +++ b/doc/plpprintd.man.in @@ -1,6 +1,4 @@ .\" Manual page for plpprintd -.\" $Id$ -.\" CHECKIN $Date$ .\" .\" Process this file with .\" groff -man -Tascii plpprintd.1 for ASCII output, or diff --git a/doc/sisinstall.man.in b/doc/sisinstall.man.in index cb7f4ad..fed6737 100644 --- a/doc/sisinstall.man.in +++ b/doc/sisinstall.man.in @@ -1,6 +1,4 @@ .\" Manual page for sisinstall -.\" $Id$ -.\" CHECKIN $Date$ .\" .\" Process this file with .\" groff -man -Tascii sisinstall.1 for ASCII output, or -- cgit v1.2.3