Bug 614 - man page variable substitution bug
man page variable substitution bug
Status: RESOLVED FIXED
Product: unbound
Classification: Unclassified
Component: server
unspecified
All All
: P5 normal
Assigned To: unbound team
Depends on:
Blocks:
  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:


Attachments

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,
   Wouter
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...
./configure

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,
   Wouter
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