Use string version number where applicable

The goal is to be able to use 'letter' releases such as '2.0.3a'
in the Version file.
SoObjects/Mailer/GNUmakefile.preamble: UIX_MAILER_*_VERSION are now strings
  Can't use SOGoVersion since the etag uses an 'underscore' notation (2_0_3a)
SoObjects/Mailer/*.m: updated format for UIX_MAILER_*_VERSION
SoObjects/SOGo/GNUmakefile: zap SOGo_VERSION, unsused
SoObjects/SOGo/GNUmakefile.preamble: fix defines
UI/MainUI/SOGoRootPage.m: use SOGoVersion
This commit is contained in:
Jean Raby committed 2012-12-21 13:55:03 -05:00
1 parent 4971e8d05a
commit ea26e0cc0a
9 files changed
+22 -26

No files matched your search

-2
View File
@@ -9,8 +9,6 @@ FRAMEWORK_NAME = SOGo
#SOGo_INSTALL_DIR = $(SOGO_LIBDIR)
SOGo_INSTALL_DIR = $(DESTDIR)$(GNUSTEP_$(GNUSTEP_INSTALLATION_DOMAIN)_FRAMEWORKS)
SOGo_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)
SOGo_HEADER_FILES = \
SOGoBuild.h \
SOGoProductLoader.h \
+6 -5
View File
@@ -1,16 +1,17 @@
# compilation settings
SOGo_INCLUDE_DIRS += -I.. -I../../UI \
-DSOGO_MAJOR_VERSION="@\"$(MAJOR_VERSION)\"" \
-DSOGO_MINOR_VERSION="@\"$(MINOR_VERSION)\"" \
-DSOGO_SUBMINOR_VERSION="@\"$(SUBMINOR_VERSION)\""
SOGo_INCLUDE_DIRS += -I.. -I../../UI
HOSTNAME ?= $(shell hostname -f)
BUILD_DATE = $(shell echo $$USER@$(HOSTNAME); date +"%Y%m%d%H%M")
ADDITIONAL_CPPFLAGS += \
-DSOGO_BUILD_DATE="@\"$(BUILD_DATE)\"" \
-DSOGO_LIBDIR="\"$(SOGO_LIBDIR)\""
-DSOGO_LIBDIR="\"$(SOGO_LIBDIR)\"" \
-DSOGO_MAJOR_VERSION="@\"$(MAJOR_VERSION)\"" \
-DSOGO_MINOR_VERSION="@\"$(MINOR_VERSION)\"" \
-DSOGO_SUBMINOR_VERSION="@\"$(SUBMINOR_VERSION)\""
SOGo_LIBRARIES_DEPEND_UPON += \
-Wl,--no-as-needed \