summaryrefslogtreecommitdiff
path: root/Vars.make
Unidiff
Diffstat (limited to 'Vars.make') (more/less context) (ignore whitespace changes)
-rw-r--r--Vars.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/Vars.make b/Vars.make
index b1cdb28..82421e5 100644
--- a/Vars.make
+++ b/Vars.make
@@ -27,33 +27,33 @@ ifeq ($(QPE_VERSION),)
27 ifeq ($(QPE_VERSION),..) 27 ifeq ($(QPE_VERSION),..)
28 QPE_VERSION=0.9.3 28 QPE_VERSION=0.9.3
29 endif 29 endif
30endif 30endif
31export QPE_VERSION 31export QPE_VERSION
32 32
33SUB_VERSION=$(shell echo $$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$(OPIEDIR)/library/version.h)) 33SUB_VERSION=$(shell echo $$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$(OPIEDIR)/library/version.h))
34ifeq ($(VERSION_CVS),) 34ifeq ($(VERSION_CVS),)
35 VERSION_CVS:=$(shell date +%Y%m%d) 35 VERSION_CVS:=$(shell date +%Y%m%d)
36endif 36endif
37ifneq ($(filter %snapshot",$(shell cat $(OPIEDIR)/library/version.h|grep QPE_VERSION)),) 37ifneq ($(filter %snapshot",$(shell cat $(OPIEDIR)/library/version.h|grep QPE_VERSION)),)
38 SUB_VERSION:=$(VERSION_CVS) 38 SUB_VERSION:=$(VERSION_CVS)
39endif 39endif
40export SUB_VERSION 40export SUB_VERSION
41 41
42ifeq ($(QTE_REVISION),) 42ifeq ($(QTE_REVISION),)
43 QTE_REVISION=4 43 QTE_REVISION=5
44endif 44endif
45export QTE_REVISION 45export QTE_REVISION
46 46
47export DEB_VERSION=2.0 47export DEB_VERSION=2.0
48 48
49ifeq ($(QTE_BASEVERSION),) 49ifeq ($(QTE_BASEVERSION),)
50 ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),) 50 ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),)
51 QTE_BASEVERSION:=$(shell cat $(QTDIR)/include/qglobal.h|grep '^\#define QT_VERSION'|grep -v STR|sed -e 's/\#define QT_VERSION\t*//; s/.*\([0-9]\)\([0-9]\)\([0-9]\).*/\1.\2.\3/;') 51 QTE_BASEVERSION:=$(shell cat $(QTDIR)/include/qglobal.h|grep '^\#define QT_VERSION'|grep -v STR|sed -e 's/\#define QT_VERSION\t*//; s/.*\([0-9]\)\([0-9]\)\([0-9]\).*/\1.\2.\3/;')
52 else 52 else
53 QTE_BASEVERSION=2.3.5 53 QTE_BASEVERSION=2.3.5
54 endif 54 endif
55endif 55endif
56export QTE_BASEVERSION 56export QTE_BASEVERSION
57 57
58ifeq ($(QTE_VERSION),) 58ifeq ($(QTE_VERSION),)
59 ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),) 59 ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),)