diff options
| author | Théo Zimmermann | 2018-12-14 12:53:29 +0100 |
|---|---|---|
| committer | Théo Zimmermann | 2018-12-14 12:53:29 +0100 |
| commit | 40aac459c94b9a8696e4d23dfdc0ce9279e63616 (patch) | |
| tree | c6fd34efea1f0ca2638bc9aa68809a2d3640ed46 /doc/tools | |
| parent | 7e3603069cf591c6c70ef25d4cfc72f62aa44058 (diff) | |
| parent | ca4e25215144503f1dd42903421a61baee22b73e (diff) | |
Merge PR #9147: [dune] [doc] Support for building the reference manual with Dune.
Diffstat (limited to 'doc/tools')
| -rw-r--r-- | doc/tools/coqrst/coqdoc/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tools/coqrst/coqdoc/main.py b/doc/tools/coqrst/coqdoc/main.py index 57adcb287c..1de9890992 100644 --- a/doc/tools/coqrst/coqdoc/main.py +++ b/doc/tools/coqrst/coqdoc/main.py @@ -35,7 +35,7 @@ COQDOC_HEADER = "".join("(** remove printing {} *)".format(s) for s in COQDOC_SY def coqdoc(coq_code, coqdoc_bin=None): """Get the output of coqdoc on coq_code.""" - coqdoc_bin = coqdoc_bin or os.path.join(os.getenv("COQBIN"), "coqdoc") + coqdoc_bin = coqdoc_bin or os.path.join(os.getenv("COQBIN", ""), "coqdoc") fd, filename = mkstemp(prefix="coqdoc-", suffix=".v") if platform.system().startswith("CYGWIN"): # coqdoc currently doesn't accept cygwin style paths in the form "/cygdrive/c/..." |
