mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
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
This commit is contained in:
parent
31d4e8d00f
commit
290a6b90ce
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user