deannotate.cmx: cic.cmx
cicXPath.cmo: cic.cmo
cicXPath.cmx: cic.cmx
+pxpUriResolver.cmo: configuration.cmo
+pxpUriResolver.cmx: configuration.cmx
annotationParser.cmo: annotationParser2.cmo pxpUriResolver.cmo
annotationParser.cmx: annotationParser2.cmx pxpUriResolver.cmx
annotationParser2.cmo: cic.cmo
(******************************************************************************)
(* this should be the only hard coded constant *)
-let filename = "/home/cadet/sacerdot/local/etc/helm/configuration.xml";;
+let filename =
+ let prefix =
+ try
+ Sys.getenv "HELM_CONFIGURATION_PREFIX"
+ with
+ Not_found -> ""
+ in
+ prefix ^ "/local/etc/helm/configuration.xml";;
exception Warnings;;
let resolve =
function
"http://localhost:8081/getdtd?url=cic.dtd" ->
- "/home/pauillac/coq3/sacerdot/HELM/INTERFACE/examples/dtd/cic.dtd"
+ Configuration.dtd_dir ^ "/cic.dtd"
| "http://localhost:8081/getdtd?url=maththeory.dtd" ->
- "/home/pauillac/coq3/sacerdot/HELM/INTERFACE/examples/dtd/maththeory.dtd"
+ Configuration.dtd_dir ^ "/maththeory.dtd"
| "http://localhost:8081/getdtd?url=annotations.dtd" ->
- "/home/pauillac/coq3/sacerdot/HELM/INTERFACE/examples/dtd/annotations.dtd"
+ Configuration.dtd_dir ^ "/annotations.dtd"
| s -> s
;;