diff libpurple/win32/global.mak @ 21298:008cfc009d0e

Allow win32 builds to define EXTRAVERSION in local.mak to do the equivalent to what ./configure --with-extraversion=foo does elsewhere
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 10 Nov 2007 15:55:29 +0000
parents 5b1acbab99cf
children f5b8e7cf870b
line wrap: on
line diff
--- a/libpurple/win32/global.mak	Sat Nov 10 15:49:57 2007 +0000
+++ b/libpurple/win32/global.mak	Sat Nov 10 15:55:29 2007 +0000
@@ -71,6 +71,11 @@
   cat $(PIDGIN_TREE_TOP)/VERSION \
 )
 PURPLE_VERSION := $(PIDGIN_VERSION)
+ifdef EXTRAVERSION
+DISPLAY_VERSION := $(PIDGIN_VERSION)-$(EXTRAVERSION)
+else
+DISPLAY_VERSION := $(PIDGIN_VERSION)
+endif
 
 DEFINES += -DHAVE_CONFIG_H