Changeset 725


Ignore:
Timestamp:
Nov 9, 2012, 1:55:42 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: changed build script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/build.cmd

    r698 r725  
    1515/* version 0.3.7 from 23.04.2012 Silvan (compile and link flags need to be
    1616                                         set here [happy birthday Jason]) */
     17/* version 0.3.8 from 09.11.2012 Silvan (eliminated the 2nd brand function) */
    1718                                         
    1819/* load the sysfuncs if not already loaded */
     
    2425
    2526/* init the version string (don't forget to change) */
    26 version = "0.3.7"
    27 version_date = "23.04.2012"
     27version = "0.3.8"
     28version_date = "09.11.2012"
    2829
    2930/* number of make jobs to execute at the same time */
     
    112113end
    113114
     115say "Building with: " || build_parms
     116say
    114117ok = SysFileTree(".\include\version.h",versionh.,'FO')
    115118
    116 if versionh.0 = 0 & conf = "YES" then do
     119if (versionh.0 = 0 & conf = "YES") | (brand = "YES") then do
    117120    svninfo = ".\svninfo"
    118121    address cmd 'svn status -q -u | grep "^Status against revision:" | sed -e "s/Status against revision: *//">'svninfo
     
    159162end
    160163
    161 if brand = "YES" then do
    162     svninfo = ".\svninfo"
    163     address cmd 'svn status -q -u | grep "^Status against revision:" | sed -e "s/Status against revision: *//">'svninfo
    164     revision = strip(translate(linein(svninfo)))
    165     ok = stream(svninfo,'c','close')
    166     call brand revision
    167 end
    168 
    169164if make <> "" then do
    170     say build_parms
    171165    address cmd 'make -j 'jobs' 2>&1 | tee build.log'
    172166end
     
    257251    ok = SysFileDelete(NewVersion)
    258252    verstring = suffix'-'Major'.'minor'.'release'.'revision'-'vendor'-'date('S')
    259     say "Samba "verstring
     253    say "Samba branded as: "verstring
     254    say
    260255return
    261256
Note: See TracChangeset for help on using the changeset viewer.