now looked for in the directory ./configure was launched in.
let gtkrc_file = runtime_base_dir ^ "/matita.gtkrc"
let lang_file = runtime_base_dir ^ "/matita.lang"
let script_template = runtime_base_dir ^ "/matita.ma.templ"
-
+let matita_conf = runtime_base_dir ^ "/matita.conf.xml"
echo "debugging enabled"
fi
-RT_BASE_DIR="."
+RT_BASE_DIR=`pwd`
AC_SUBST(CAMLP4O)
AC_SUBST(DEBUG)
MATITADEPOPT=../matitadep.opt
DEPEND_NAME=.depend
-LINKS=.matita matita.lang matita.conf.xml icons matita.ma.templ
H=@
$(DEPEND_NAME): $(SRC) $(LINKS)
$(H)$(MATITADEP) $(SRC) > $@
-# Let's prepare the environment
-.matita:
- $(H)ln -fs ../.matita .
-
-matita.lang:
- $(H)ln -fs ../matita.lang .
-
-matita.conf.xml:
- $(H)ln -fs ../matita.conf.xml .
-
-icons:
- $(H)ln -fs ../icons .
-
-matita.ma.templ:
- $(H)ln -fs ../matita.ma.templ .
-#done
-
include $(DEPEND_NAME)
(** {2 Initialization} *)
let _ =
- Helm_registry.load_from "matita.conf.xml"; (* read conf *)
+ Helm_registry.load_from BuildTimeConf.matita_conf;
Http_getter.init ();
MetadataTypes.ownerize_tables (Helm_registry.get "matita.owner");
MatitaDb.create_owner_environment ();
| exn -> MatitaLog.error (Printexc.to_string exn); interactive_loop ()
let go () =
- Helm_registry.load_from "matita.conf.xml";
+ Helm_registry.load_from BuildTimeConf.matita_conf;
Http_getter.init ();
MetadataTypes.ownerize_tables (Helm_registry.get "matita.owner");
status := Some (ref (Lazy.force MatitaEngine.initial_status));
close_out os
let main ~mode =
- Helm_registry.load_from "matita.conf.xml";
+ Helm_registry.load_from BuildTimeConf.matita_conf;
Http_getter.init ();
MetadataTypes.ownerize_tables (Helm_registry.get "matita.owner");
MatitaDb.create_owner_environment ();
module TA = TacticAst;;
let _ =
- Helm_registry.load_from "matita.conf.xml";
+ Helm_registry.load_from BuildTimeConf.matita_conf;
Http_getter.init ();
MetadataTypes.ownerize_tables (Helm_registry.get "matita.owner");
MatitaDb.create_owner_environment ()
MATITADEPOPT=../matitadep.opt
DEPEND_NAME=.depend
-LINKS=.matita matita.lang matita.conf.xml icons matita.ma.templ
H=@
$(DEPEND_NAME): $(SRC) $(LINKS)
$(H)$(MATITADEP) $(SRC) > $@
-# Let's prepare the environment
-.matita:
- $(H)ln -fs ../.matita .
-
-matita.lang:
- $(H)ln -fs ../matita.lang .
-
-matita.conf.xml:
- $(H)ln -fs ../matita.conf.xml .
-
-icons:
- $(H)ln -fs ../icons .
-
-matita.ma.templ:
- $(H)ln -fs ../matita.ma.templ .
-#done
-
include $(DEPEND_NAME)