]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/matitacLib.ml
- librarian: 3 bugs fixed in the building system:
[helm.git] / helm / software / matita / matitacLib.ml
index 6c3749db3e13cca73850b0a9421ccd8e44d5c072..5a14b2703bc8a24843bb25ff9f3ddda91b6b99a1 100644 (file)
@@ -337,7 +337,7 @@ module F =
     let root_and_target_of opts mafile = 
       try
         let include_paths = get_include_paths opts in
-        let root,baseuri,_,_ =
+        let root,baseuri,_,relpath =
           Librarian.baseuri_of_script ~include_paths mafile 
         in
         let obj_writeable, obj_read_only =
@@ -350,8 +350,8 @@ module F =
               LibraryMisc.obj_file_of_baseuri 
                         ~must_exist:false ~baseuri ~writable:false
         in
-        Some root, obj_writeable, obj_read_only
-      with Librarian.NoRootFor x -> None, "", ""
+        Some root, relpath, obj_writeable, obj_read_only
+      with Librarian.NoRootFor x -> None, "", "", ""
     ;;
 
     let mtime_of_source_object s =