equal
deleted
inserted
replaced
48 { |
48 { |
49 val res2 = |
49 val res2 = |
50 Build.build( |
50 Build.build( |
51 options.bool.update("browser_info", false). |
51 options.bool.update("browser_info", false). |
52 string.update("document", "pdf"). |
52 string.update("document", "pdf"). |
53 string.update("document_output", File.standard_path(output)), |
53 string.update("document_output", output.implode), |
54 progress, clean_build = true, max_jobs = max_jobs, system_mode = system_mode, |
54 progress, clean_build = true, max_jobs = max_jobs, system_mode = system_mode, |
55 sessions = sessions) |
55 sessions = sessions) |
56 if (res2.ok) { |
56 if (res2.ok) { |
57 val doc_dir = Path.explode("$ISABELLE_HOME/doc").file |
57 val doc_dir = Path.explode("$ISABELLE_HOME/doc") |
58 for (doc <- selected_docs) { |
58 for (doc <- selected_docs) { |
59 val name = doc + ".pdf" |
59 val name = Path.explode(doc + ".pdf") |
60 File.copy(new JFile(output, name), new JFile(doc_dir, name)) |
60 File.copy(output + name, doc_dir + name) |
61 } |
61 } |
62 } |
62 } |
63 res2.rc |
63 res2.rc |
64 }) |
64 }) |
65 } |
65 } |