mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Cmake doc creation: Python is choking on '\\'
This commit is contained in:
parent
f3c8884eee
commit
65deb30c24
@ -9,10 +9,12 @@ foreach(_v LYX_USERDIR_VER LYX_DIR_VER REL_DIR SOURCE CREATED LYX_PYTHON_EXECUTA
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
set(originstring "origin\ unavailable=origin\ /systemlyxdir/doc/${REL_DIR}")
|
||||
#message(STATUS "originstring=${originstring}")
|
||||
execute_process(COMMAND ${LYX_PYTHON_EXECUTABLE} "${TOP_CMAKE_PATH}/doc/ReplaceValues.py"
|
||||
"LYX_USERDIR_VER=${LYX_USERDIR_VER}"
|
||||
"LYX_DIR_VER=${LYX_DIR_VER}"
|
||||
"\\origin\ unavailable=\\origin\ /systemlyxdir/doc/${REL_DIR}"
|
||||
${originstring}
|
||||
"${TOP_SRC_DIR}/lib/doc/${SOURCE}"
|
||||
OUTPUT_FILE "${CREATED}"
|
||||
RESULT_VARIABLE _err
|
||||
|
Loading…
Reference in New Issue
Block a user