diff --git a/doc/user/CMakeLists.txt b/doc/user/CMakeLists.txt index 2cf38258b..432156777 100644 --- a/doc/user/CMakeLists.txt +++ b/doc/user/CMakeLists.txt @@ -22,7 +22,7 @@ update_deps_file("${All_Deps}") add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/web/docs/index.html COMMAND /bin/bash ${CMAKE_CURRENT_SOURCE_DIR}/build.sh - ARGS ${CMAKE_BINARY_DIR}/web/docs/ + ARGS ${CMAKE_BINARY_DIR}/web/docs/ ${CMAKE_BINARY_DIR} COMMENT "Building Manual UI" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${All_Deps}) diff --git a/doc/user/build.sh b/doc/user/build.sh index 466fccc56..5bf4d5ae3 100644 --- a/doc/user/build.sh +++ b/doc/user/build.sh @@ -2,7 +2,7 @@ tmpfile=$(mktemp /tmp/quiet_build_log.XXXX) cur_dir=$(pwd) -temp_path="$1../../web_temp" +temp_path="$2/web_temp" zola_path=$(readlink -f "../../externals/linux/bin/zola/zola") mkdir -p $temp_path