]> git.lyx.org Git - features.git/commitdiff
Forgot this: windows backslash needs special treatment
authorBo Peng <bpeng@lyx.org>
Thu, 6 Sep 2007 04:18:12 +0000 (04:18 +0000)
committerBo Peng <bpeng@lyx.org>
Thu, 6 Sep 2007 04:18:12 +0000 (04:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20093 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/SConstruct

index 7b139bcd78b5020dfc06c118dbb94bc6a1d70c36..9160212e29a944e306fdfa471cb7c3b8ee00d870 100644 (file)
@@ -1042,11 +1042,11 @@ result = utils.createConfigFile(conf,
             'Date of release'),
         ('#define PROGRAM_SUFFIX "%s"' % program_suffix,
             'Program version suffix'),
-        ('#define LYX_ABS_INSTALLED_DATADIR "%s"' % env.subst('$LYX_DATA_DIR'),
+        ('#define LYX_ABS_INSTALLED_DATADIR "%s"' % env.subst('$LYX_DATA_DIR').replace('\\', '\\\\'),
             'Hard coded system support directory'),
-        ('#define LYX_ABS_INSTALLED_LOCALEDIR "%s"' % env.subst('$LOCALEDIR'),
+        ('#define LYX_ABS_INSTALLED_LOCALEDIR "%s"' % env.subst('$LOCALEDIR').replace('\\', '\\\\'),
             'Hard coded locale directory'),
-        ('#define LYX_ABS_TOP_SRCDIR "%s"' % env.subst('$TOP_SRCDIR'),
+        ('#define LYX_ABS_TOP_SRCDIR "%s"' % env.subst('$TOP_SRCDIR').replace('\\', '\\\\'),
             'Top source directory'),
         ('#define BOOST_ALL_NO_LIB 1',
             'disable automatic linking of boost libraries.'),