Changeset ac9ff7c0f1 in tspsg


Ignore:
Timestamp:
Oct 25, 2010, 9:42:32 AM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
b59e2ea0b1
Parents:
7fd1756f1e
git-author:
Oleksii Serdiuk <contacts@…> (10/25/10 09:42:32)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:45:58)
Message:

Made some tweaks/fixes to the project files...

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • install.pri

    r7fd1756f1e rac9ff7c0f1  
    2222#   - COPYING, ChangeLog.txt, README.txt and INSTALL.txt
    2323#     go to /usr/share/doc/TSPSG-x.x.x
    24 unix:!macx:!symbian {
     24unix:!macx:!symbian:!maemo* {
    2525        isEmpty(PREFIX) {
    2626                PREFIX = /usr
  • src/version.h

    r7fd1756f1e rac9ff7c0f1  
    5555                #define BUILD_STATUS (debug build BUILD_NUMBER)
    5656        #else
    57                 #define BUILD_STATUS (BUILD_STATUS_TYPE BUILD_STATUS_NUMBER)
     57                #define BUILD_STATUS (debug BUILD_STATUS_TYPE BUILD_STATUS_NUMBER)
    5858        #endif
    5959#else
  • tspsg.pro

    r7fd1756f1e rac9ff7c0f1  
    3434BUILD_VERSION_MAJOR = 0
    3535BUILD_VERSION_MINOR = 1
    36 BUILD_RELEASE = 3
     36BUILD_RELEASE = 4
    3737
    3838# These are only defined on releases
    39 DEFINES += TSPSG_RELEASE_BUILD
    40 DEFINES += BUILD_STATUS_TYPE=beta
    41 DEFINES += BUILD_STATUS_NUMBER=1
     39#DEFINES += TSPSG_RELEASE_BUILD
     40#DEFINES += BUILD_STATUS_TYPE=beta
     41#DEFINES += BUILD_STATUS_NUMBER=1
    4242
    43 REVISION = 145
    44 #REVISION = $$system(svnversion)
    45 #isEmpty(REVISION)|eval(REVISION=="exported") {
    46 #       REVISION = 0
    47 #} else {
    48 #       REVISION = $$replace(REVISION,":","")
    49 #       REVISION = $$replace(REVISION,"M","")
    50 #}
     43#REVISION = 145
     44REVISION = $$system(svnversion)
     45isEmpty(REVISION)|isEqual(REVISION,exported) {
     46        REVISION = 0
     47} else {
     48        REVISION = $$replace(REVISION,":","")
     49        REVISION = $$replace(REVISION,"M","")
     50}
     51SHORT_VERSION = $$sprintf("%1.%2",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR)
    5152win32-msvc*|wincewm* {
    52         VERSION = $$sprintf("%1.%2",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR)
     53        VERSION = $$SHORT_VERSION
    5354} else {
    54         VERSION = $$sprintf("%1.%2.%3.%4",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR,$$BUILD_RELEASE,$$REVISION)
     55        VERSION = $$sprintf("%1.%2",$$SHORT_VERSION,$$BUILD_RELEASE)
    5556}
    5657
Note: See TracChangeset for help on using the changeset viewer.