--- a/Admin/mira.py Wed Mar 14 15:24:07 2012 +0100
+++ b/Admin/mira.py Wed Mar 14 15:24:51 2012 +0100
@@ -17,6 +17,7 @@
from mira.tools import tool
from mira import schedule, misc
from mira.environment import scheduler
+from mira import repositories
# build and evaluation tools
@@ -292,6 +293,20 @@
return isabelle_makeall(*args)
+# Document and Distribution Build
+
+@configuration(repos = [Isabelle], deps = [])
+def Distribution(env, case, paths, dep_paths, playground):
+ """Document and Distribution Build"""
+ ## FIXME This is rudimentary; study Admin/CHECKLIST to complete this configuration accordingly
+ isabelle_home = paths[0]
+ makedist = path.join(isabelle_home, 'Admin', 'makedist')
+ (return_code, log) = env.run_process(makedist,
+ REPOS = repositories.get(Isabelle).local_path, DISTPREFIX = os.getcwd())
+ return (return_code == 0, '', ## FIXME might add summary here
+ {}, {'log': log}, None) ## FIXME might add proper result here
+
+
# Mutabelle configurations
def invoke_mutabelle(theory, env, case, paths, dep_paths, playground):