How to make a Samba .distversion file

Andrew Bartlett abartlet at samba.org
Tue Sep 27 14:45:11 UTC 2016


On Tue, 2016-09-27 at 03:08 -0500, Steve French wrote:
> If trying to get Samba to build with a version tag that includes the
> git hash (trailing string), it looks like it can already do this if
> you have a ".distversion" file in the root directory of the build
> (since with rpmbuild you won't be in the git tree at that point, as
> you have created a tar.gz) - but how is a valid .distversion file
> generated.  "make dist" didn't seem to do what I expected (built a
> lot
> of documents, and an invalid .distversion).
> 
> What is the format of .distversion and is there a script which
> trivially generates it?

It is controlled by the VERSION file and generated by make dist (waf
dist) from ./wscript.

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba-technical mailing list