bodge the makefile version extraction.

This commit is contained in:
Vincent Sanders 2012-10-15 16:04:51 +01:00
parent 248fc0acc9
commit 42657ea9a4

View File

@ -41,7 +41,8 @@ endif
CFLAGS += -I/usr/include/libxml2
CFLAGS += -include cocoa/Prefix.pch
VERSION_FULL := $(shell sed -n '/\"/{s/.*"\(.*\)\".*/\1/;p;}' desktop/version.c)
# VERSION_FULL := $(shell sed -n '/\"/{s/.*"\(.*\)\".*/\1/;p;}' desktop/version.c)
VERSION_FULL := "3.0 (Dev)"
VERSION_MAJ := $(shell sed -n '/_major/{s/.* = \([0-9]*\).*/\1/;p;}' desktop/version.c)
VERSION_MIN := $(shell sed -n '/_minor/{s/.* = \([0-9]*\).*/\1/;p;}' desktop/version.c)