[PATCH] autogenerate include/version.h ...

Stefan (metze) Metzmacher metze at metzemix.de
Mon Aug 11 00:16:46 GMT 2003


Hi Jerry,Jelmer,

here's the patch for autogenerating include/version.h

"include/version.h" is created by "script/mkversion.sh"
from the data in "source/VERSION"

script/mkversion.sh is called by autogen.sh

this will be the current include/version.h:
------
/* Autogenerated by script/mkversion.sh */
#define SAMBA_VERSION_MAJOR 3
#define SAMBA_VERSION_MINOR 0
#define SAMBA_VERSION_RELEASE 0
#define SAMBA_VERSION_RC_RELEASE 1
#define SAMBA_VERSION_IS_CVS_SNAPSHOT 1
#define SAMBA_VERSION_STRING "3.0.0rc1cvs"
------

This will make it easier for module writters to deal with different samba 
versions
in the future...

I'll send the modules part of this on topic "[PATCH] updates for example/VFS"



metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3_0-version-01.patch
Type: application/octet-stream
Size: 28791 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030811/6f134d41/3_0-version-01.obj


More information about the samba-technical mailing list