From 290a6b90cefa6ead9dd58cb8462e63a41f86fb03 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Fri, 8 Sep 2006 15:02:26 +0000 Subject: [PATCH] Scons: handle LYX_DATE in src/version.C git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14943 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/scons/SConstruct | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/development/scons/SConstruct b/development/scons/SConstruct index 7fc8b3b640..49edb08738 100644 --- a/development/scons/SConstruct +++ b/development/scons/SConstruct @@ -12,7 +12,7 @@ # to INSTALL.scons for detailed instructions. # -import os, sys, copy, cPickle, glob +import os, sys, copy, cPickle, glob, time # scons_utils.py defines a few utility function sys.path.append('config') @@ -384,13 +384,14 @@ env.AppendUnique(LIBPATH = ['$LOCALLIBPATH']) # lib/lyx2lyx/lyx2lyx_version.py.in # PACKAGE_VERSION # src/version.C.in -# PACKAGE_VERSION, VERSION_INFO +# PACKAGE_VERSION, LYX_DATE, VERSION_INFO # full path name is used to build msvs project files # and to replace TOP_SRCDIR in package.C env['TOP_SRCDIR'] = Dir(top_src_dir).abspath # needed by src/version.C.in => src/version.C env['PACKAGE_VERSION'] = package_version +env['LYX_DATE'] = time.asctime() # determine share_dir etc packaging_method = env.get('packaging')