Hello,
currently man page generation through docbook always uses the date of
build for the footer section of the man page. If {revdate} is defined in
the source it would make much more sense to use this instead. The
attached patch to docbook.conf uses {revdate} if it has been defined.
I found at least these three projects in the wild using a custom
asciidoc.conf for the purpose of setting the date only. In my opinion
there is the need for this functionality to be builtin by default:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalwareutils.git;a=blob;f=doc/asciidoc.conf
http://omf.mytestbed.net/repositories/entry/oml/doc/asciidoc.conf
http://vmiklos.hu/project/darcs-fast-export/asciidoc.conf
Rainer
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.
# HG changeset patch
# User Rainer Mueller <[email protected]>
# Date 1270426454 -7200
# Node ID 7e2bb149673fbca6e8e3794c33c00a233444e7a7
# Parent 320ce8f4a4b873327bbe507cf764b66e73dd27dd
Use {revdate} for manpage date if available
diff -r 320ce8f4a4b8 -r 7e2bb149673f docbook.conf
--- a/docbook.conf Thu Mar 25 13:42:32 2010 +1300
+++ b/docbook.conf Mon Apr 05 02:14:14 2010 +0200
@@ -569,6 +569,9 @@
[header]
template::[header-declarations]
<refentry lang="{lang=en}">
+{revdate#}<refentryinfo>
+{revdate#} <date>{revdate}</date>
+{revdate#}</refentryinfo>
<refmeta>
<refentrytitle>{mantitle}</refentrytitle>
<manvolnum>{manvolnum}</manvolnum>