[PATCH] Add set date to tdb manpages.

Jelmer Vernooij jelmer at samba.org
Sun Apr 26 04:45:47 MDT 2015


On Sun, Apr 26, 2015 at 10:39:09PM +1200, Andrew Bartlett wrote:
> On Sun, 2015-04-26 at 10:13 +0000, Jelmer Vernooij wrote:
> > This makes builds reproducible.
> > 
> > Signed-Off-By: Jelmer Vernooij <jelmer at samba.org>
> > ---
> >  lib/tdb/man/tdbbackup.8.xml  | 1 +
> >  lib/tdb/man/tdbdump.8.xml    | 1 +
> >  lib/tdb/man/tdbrestore.8.xml | 1 +
> >  lib/tdb/man/tdbtool.8.xml    | 1 +
> >  4 files changed, 4 insertions(+)
> > 
> > diff --git a/lib/tdb/man/tdbbackup.8.xml b/lib/tdb/man/tdbbackup.8.xml
> > index 8fd1fd4..740b3d5 100644
> > --- a/lib/tdb/man/tdbbackup.8.xml
> > +++ b/lib/tdb/man/tdbbackup.8.xml
> > @@ -1,6 +1,7 @@
> >  <?xml version="1.0" encoding="iso-8859-1"?>
> >  <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
> >  <refentry id="tdbbackup.8">
> > +<refentryinfo><date>2015-04-25</date></refentryinfo>
> 
> Where does this date end up?
> 
> I don't want to create more work unless if appears prominently, but it
> would be 'nice to have' if this came via an entity, the value of which
> was fixed by the build system (and fixed in stone by make dist).
This ends up in the footer of each manual page.

Ideally we'd indeed have some way of automatically filling it in,
based on when the file was last touched in Git - though that also
doesn't reflect when it was last significantly changed.

Cheers,

Jelmer
-- 
Jelmer Vernooij <jelmer at samba.org> - https://jelmer.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150426/5d3e6a45/attachment.pgp>


More information about the samba-technical mailing list