Ignore:
Timestamp:
Apr 14, 2007, 6:43:50 AM (15 years ago)
Author:
joshe
Message:

Whoops, need this too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/daemon/version.sh

    r1075 r1713  
    55MAJOR=0
    66MINOR=6
    7 STRING=0.7-svn
     7MAINT=1
     8STRING=0.70-svn
    89
    910# Get current SVN revision from Ids in all source files
     
    3031# Generate version.mk
    3132cat > mk/version.mk.new << EOF
    32 VERSION_MAJOR    = $MAJOR
    33 VERSION_MINOR    = $MINOR
    34 VERSION_STRING   = $STRING
    35 VERSION_REVISION = $REV
     33VERSION_MAJOR       = $MAJOR
     34VERSION_MINOR       = $MINOR
     35VERSION_MAINTENANCE = $MAINT
     36VERSION_STRING      = $STRING
     37VERSION_REVISION    = $REV
    3638EOF
    3739replace_if_differs mk/version.mk.new mk/version.mk
     
    3941# Generate version.h
    4042cat > libtransmission/version.h.new << EOF
    41 #define VERSION_MAJOR    $MAJOR
    42 #define VERSION_MINOR    $MINOR
    43 #define VERSION_STRING   "$STRING"
    44 #define VERSION_REVISION $REV
     43#define VERSION_MAJOR       $MAJOR
     44#define VERSION_MINOR       $MINOR
     45#define VERSION_MAINTENANCE $MAINT
     46#define VERSION_STRING      "$STRING"
     47#define VERSION_REVISION    $REV
    4548EOF
    4649replace_if_differs libtransmission/version.h.new libtransmission/version.h
Note: See TracChangeset for help on using the changeset viewer.