VirtualBox

Changeset 1397 in vbox for trunk/Config.kmk


Ignore:
Timestamp:
Mar 11, 2007 10:27:25 AM (18 years ago)
Author:
vboxsync
Message:

Use VBOX_VERSION_STRING when possible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r1394 r1397  
    127127# will be published, odd numbers are set during development.
    128128VBOX_VERSION_BUILD = 99
    129 # For convenience
    130 VBOX_VERSION = $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)
     129# Full version string (may include more than just x.y.z, but no spaces or other problematic chars).
     130VBOX_VERSION_STRING = $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)
     131# Same as VBOX_VERSION_STRING, deprecated.
     132VBOX_VERSION = $(VBOX_VERSION_STRING)
    131133
    132134
     
    20582060# directory. If you don't run it there, you get a consistent sub-tree only.
    20592061#
    2060 VBOX_VERSION_STAMP = $(PATH_OUT)/version-stamp-$(VBOX_VERSION_MAJOR)-$(VBOX_VERSION_MINOR)-$(VBOX_VERSION_BUILD)
     2062VBOX_VERSION_STAMP = $(PATH_OUT)/version-stamp-$(VBOX_VERSION_STRING)
    20612063VBOX_VERSION_HEADER = $(PATH_OUT)/version-generated.h
    20622064VBOX_VERSION_MK     = $(PATH_OUT)/version-generated.mk
     
    20762078        $(APPEND) [email protected] "#define VBOX_VERSION_MINOR $(VBOX_VERSION_MINOR)"
    20772079        $(APPEND) [email protected] "#define VBOX_VERSION_BUILD $(VBOX_VERSION_BUILD)"
    2078         $(APPEND) [email protected] '#define VBOX_VERSION_STRING "$(VBOX_VERSION)"'
     2080        $(APPEND) [email protected] '#define VBOX_VERSION_STRING "$(VBOX_VERSION_STRING)"'
    20792081        $(APPEND) [email protected] ""
    20802082        $(APPEND) [email protected] "#endif"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette