diff options
| author | notin | 2008-11-14 17:43:50 +0000 |
|---|---|---|
| committer | notin | 2008-11-14 17:43:50 +0000 |
| commit | dbc7cc0632d15a48ee8c695b84099c96d940821d (patch) | |
| tree | be1a1b14212fa8e30838e05030bfa84ab1c62bda /tools | |
| parent | fdf0426dcda0b244ed5399a6590841308f8e3348 (diff) | |
Amélioration du README.doc et de l'installation de la doc
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11591 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/coqdoc/main.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/coqdoc/main.ml b/tools/coqdoc/main.ml index add43b7c08..e6c3e5c071 100644 --- a/tools/coqdoc/main.ml +++ b/tools/coqdoc/main.ml @@ -439,13 +439,13 @@ let produce_document l = (if !target_language=HTML then let src = (Filename.concat !Cdglobals.coqlib_path "/tools/coqdoc/coqdoc.css") in let dst = if !output_dir <> "" then Filename.concat !output_dir "coqdoc.css" else "coqdoc.css" in - copy src dst); + if (Sys.file_exists src) then (copy src dst) else eprintf "Warning: file %s does not exist\n" src); (if !target_language=LaTeX then let src = (Filename.concat !Cdglobals.coqlib_path "/tools/coqdoc/coqdoc.sty") in let dst = if !output_dir <> "" then Filename.concat !output_dir "coqdoc.sty" else "coqdoc.sty" in - copy src dst); + if Sys.file_exists src then copy src dst else eprintf "Warning: file %s does not exist\n" src); (match !Cdglobals.glob_source with | NoGlob -> () | DotGlob -> ignore (List.map read_glob l) |
