]> git.lyx.org Git - features.git/commitdiff
Scons: fix handling of lib/lyx2lyx/lyx2lyx_version.py.in
authorBo Peng <bpeng@lyx.org>
Mon, 3 Jul 2006 20:57:25 +0000 (20:57 +0000)
committerBo Peng <bpeng@lyx.org>
Mon, 3 Jul 2006 20:57:25 +0000 (20:57 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14325 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/SConstruct

index 7a6ef25cd8bc1b61662353a9b06f0ad0d554d7ec..b22720ca53b3960242f42256136d876e2b9e9b30 100644 (file)
@@ -2312,7 +2312,7 @@ if 'install' in targets:
         'templates', 'examples', 'kbd', 'lyx2lyx', 'tex', 'clipart', 'doc',  'ui']]
     )
     # lyx1.4.x does not have lyx2lyx_version.py.in
-    if os.path.isfile('$TOP_SRCDIR/lib/lyx2lyx/lyx2lyx_version.py.in'):
+    if os.path.isfile(env.subst('$TOP_SRCDIR/lib/lyx2lyx/lyx2lyx_version.py.in')):
         # subst and install this file
         env.substFile(share_dest_dir + '/lyx2lyx/lyx2lyx_version.py',
             '$TOP_SRCDIR/lib/lyx2lyx/lyx2lyx_version.py.in')