[gnumeric] win32: update date tag automatically.



commit 3fecfda97da5235036e3842f4a73c3f4e51a357c
Author: Morten Welinder <terra gnome org>
Date:   Fri Apr 16 16:14:57 2010 -0400

    win32: update date tag automatically.

 configure.in                |    2 ++
 tools/win32/gnumeric.nsi.in |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 859bf56..f0cd691 100644
--- a/configure.in
+++ b/configure.in
@@ -1021,6 +1021,8 @@ AC_SUBST(gnumeric_localedir, '${prefix}/${DATADIRNAME}/locale')
 dnl
 AC_SUBST(gnumeric_plugindir, '${gnumeric_libdir}/plugins')
 
+AC_SUBST(YYYYMMDD, `date +%Y%m%d`)
+
 dnl Export to gnumeric-config.h
 AC_DEFINE(GNM_VERSION_FULL, "gnumeric_version_full",
 	[The version number of this release, with optional extra suffix])
diff --git a/tools/win32/gnumeric.nsi.in b/tools/win32/gnumeric.nsi.in
index 7bc0e43..7a903e4 100644
--- a/tools/win32/gnumeric.nsi.in
+++ b/tools/win32/gnumeric.nsi.in
@@ -8,7 +8,7 @@ SetCompressor /SOLID lzma
 !define GNM_LONGNAME		"Gnumeric Spreadsheet"
 !define GNM_APPNAME		"Gnumeric Spreadsheet"
 !define GNM_VERSION		"@VERSION@"
-!define GNM_VERSION_TAG		"20090507-debug"
+!define GNM_VERSION_TAG		"@YYYYMMDD@"
 !define GNM_VERSION_FULL	"${GNM_VERSION}-${GNM_VERSION_TAG}"
 !define GNM_UNINST_KEY		"Software\Microsoft\Windows\CurrentVersion\Uninstall\${GNM_NAME}"
 !define GNM_STARTMENU_REG_VAL	"NSIS:StartMenuDir"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]