'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.'),