Bug 614 - man page variable substitution bug
man page variable substitution bug
Product: unbound
Classification: Unclassified
Component: server
All All
: P5 normal
Assigned To: unbound team
Depends on:
  Show dependency treegraph
Reported: 2014-10-06 01:03 CEST by Brad Smith
Modified: 2014-10-06 09:43 CEST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Brad Smith 2014-10-06 01:03:36 CEST
Looking at the SVN code I noticed the man pages seem to have had the hard coded Unbound version and date removed from the man pages and replaced with @version@ and @date@ respectively. But it appears as if the autoconf script does not substitute those variables when generating the man pages substituting the other relevant variables for the man pages.
Comment 1 Wouter Wijngaards 2014-10-06 09:18:16 CEST
Hi Brad,

The configure script replaces the version and date in the manpages.  Also for builds-from-source-repo.

Or is that failing somehow?

Best regards,
Comment 2 Brad Smith 2014-10-06 09:33:10 CEST
But that is NOT what happens when checking out the latest src from SVN.

checkout src...

The resulting man pages do NOT have the variables substituted.
Comment 3 Wouter Wijngaards 2014-10-06 09:36:01 CEST
Hi Brad,

Yes that is wrong.  The downloadable tarballs have correct version and date, but I can fix it so that the source builds also have a version and date in the man page.

Best regards,
Comment 4 Brad Smith 2014-10-06 09:39:51 CEST
Oh, ok. Usually I use the release tarballs but I am growing impatient for a release ;) Thanks for fixing this.
Comment 5 Wouter Wijngaards 2014-10-06 09:43:44 CEST
Hi Brad,

Fixed in the svn trunk.  For distos it'll pick the date of the distribution tarball, for source-tree-builds it uses the build-date.  Thank you for reporting this and making the man pages look nicer.

Best regards, Wouter