Changeset 264 for trunk/Makefile


Ignore:
Timestamp:
May 29, 2006, 10:44:21 PM (16 years ago)
Author:
titer
Message:

Splits VERSION_STRING and VERSION_REVISION, removes duplication of flags
in the Xcode project file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r262 r264  
    100100endif
    101101
    102 Makefile.version: .version
     102.version: .version1 .version2
    103103
    104 .version:
     104.version1:
    105105        @echo "Checking SVN revision..."
    106106        @./version.sh
     107
     108.version2:
     109        @$(RM) libtransmission/version.h
     110        @( echo "#define VERSION_MAJOR    $(VERSION_MAJOR)" && \
     111           echo "#define VERSION_MINOR    $(VERSION_MINOR)" && \
     112           echo "#define VERSION_STRING   \"$(VERSION_STRING)\"" && \
     113           echo "#define VERSION_REVISION $(VERSION_REVISION)" ) > \
     114           libtransmission/version.h
     115
     116Makefile.version: .version1
Note: See TracChangeset for help on using the changeset viewer.