Skip to content

Commit

Permalink
Hm...
Browse files Browse the repository at this point in the history
- Well, at least it's very noisy about its failure to use concantenation arguments!
  • Loading branch information
ThePhD committed Feb 11, 2021
1 parent 817e861 commit 362b052
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions documentation/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,15 @@ def run_cmake_doxygen():
print("[conf.py] XML Directory: %s" % xml_dir)

try:
print("[conf.py] Configuring CMake...")
retcode = subprocess.call(
"cmake -DZTD_TEXT_DOCUMENTATION:BOOL=TRUE -DZTD_TEXT_DOCUMENTATION_NO_SPHINX:BOOL=TRUE ../../../.."
% xml_dir,
"cmake -DZTD_TEXT_DOCUMENTATION:BOOL=TRUE -DZTD_TEXT_DOCUMENTATION_NO_SPHINX:BOOL=TRUE ../../../..",
shell=True,
cwd=cmake_dir)
except OSError as e:
sys.stderr.write("cmake generation execution failed: %s\n" % e)
return

try:
print("[conf.py] Building with CMake...")
retcode = subprocess.call("cmake --build .",
shell=True,
cwd=cmake_dir)
Expand Down

0 comments on commit 362b052

Please sign in to comment.