From ff5a337483cd9f212fa0fd0931b3fa12797f55f8 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 4 Jul 2011 10:14:27 +1000 Subject: [PATCH] s3-build use common VERSION file for all builds There is no need to have both version files at this point. Andrew Bartlett --- source3/VERSION | 105 ------------------------------------ source3/script/mkversion.sh | 2 +- 2 files changed, 1 insertion(+), 106 deletions(-) delete mode 100644 source3/VERSION diff --git a/source3/VERSION b/source3/VERSION deleted file mode 100644 index fcab12af6e..0000000000 --- a/source3/VERSION +++ /dev/null @@ -1,105 +0,0 @@ -######################################################## -# SAMBA Version # -# # -# Samba versions are as follows # -# 3.0.x New production series # -# 3.0.x{pre,rc}y Preview/Testing & RC # -# 3.0.x[a-z] Patch releases # -# 3.0.x[a-z]-VENDOR-z Vendor patch releases # -# # -# script/mkversion.sh # -# will use this file to create # -# include/version.h # -# # -######################################################## - -######################################################## -# This are the main SAMBA version numbers # -# # -# .. # -# # -# e.g. SAMBA_VERSION_MAJOR=3 # -# SAMBA_VERSION_MINOR=0 # -# SAMBA_VERSION_RELEASE=0 # -# -> "3.0.0" # -######################################################## -SAMBA_VERSION_MAJOR=3 -SAMBA_VERSION_MINOR=6 -SAMBA_VERSION_RELEASE=0 - -######################################################## -# Bug fix releases use a letter for the patch revision # -# # -# so SAMBA's version will be # -# .. # -# # -# e.g. SAMBA_VERSION_REVISION=a # -# -> "2.2.8a" # -######################################################## -SAMBA_VERSION_REVISION= - -######################################################## -# For 'pre' releases the version will be # -# # -# ..pre # -# # -# e.g. SAMBA_VERSION_PRE_RELEASE=1 # -# -> "2.2.9pre1" # -######################################################## -SAMBA_VERSION_PRE_RELEASE= - -######################################################## -# For 'rc' releases the version will be # -# # -# ..rc # -# # -# e.g. SAMBA_VERSION_RC_RELEASE=1 # -# -> "3.0.0rc1" # -######################################################## -SAMBA_VERSION_RC_RELEASE= - -######################################################## -# To mark SVN snapshots this should be set to 'yes' # -# in the development BRANCH, and set to 'no' only in # -# the SAMBA_X_X_RELEASE BRANCH # -# # -# ..[...]cvs # -# # -# e.g. SAMBA_VERSION_IS_SVN_SNAPSHOT=yes # -# -> "3.0.0-SVN-build-199" # -######################################################## -SAMBA_VERSION_IS_GIT_SNAPSHOT=yes - -######################################################## -# This can be set by vendors if they want... # -# # -# ..[...]- # -# # -# Note the '-' is automatically added # -# # -# e.g. SAMBA_VERSION_VENDOR_SUFFIX="VendorVersion" # -# -> "CVS 3.0.0rc2-VendorVersion" # -# # -# Note: If you want to use a function, take a look at # -# SAMBA_VERSION_VENDOR_FUNCTION # -# # -######################################################## -SAMBA_VERSION_VENDOR_SUFFIX="devel" -SAMBA_VERSION_VENDOR_PATCH= - -######################################################## -# This can be set by vendors if they want.. # -# This have to be a function which returns a string # -# (const char *). # -# # -# Patch for example lib/version.c and add something # -# like the following example: # -# # -# const char *samba_vendor_version(void) # -# { # -# return SAMBA_VERSION_OFFICIAL_STRING "-ENREDO-1.0" # -# } # -# # -# -> "Version 3.2.0-ENREDO-1.0 # -######################################################## -SAMBA_VERSION_VENDOR_FUNCTION= diff --git a/source3/script/mkversion.sh b/source3/script/mkversion.sh index 5ad197dd56..0e4a860363 100755 --- a/source3/script/mkversion.sh +++ b/source3/script/mkversion.sh @@ -4,7 +4,7 @@ VERSION_FILE=$1 OUTPUT_FILE=$2 if test -z "$VERSION_FILE";then - VERSION_FILE="VERSION" + VERSION_FILE="../VERSION" fi if test -z "$OUTPUT_FILE";then -- 2.34.1