buildTimeConf.cmx applyTransformation.cmx cicMathView.cmi
lablGraphviz.cmo: lablGraphviz.cmi
lablGraphviz.cmx: lablGraphviz.cmi
-matitaAuthentication.cmo: matitaEngine.cmi matitaAuthentication.cmi
-matitaAuthentication.cmx: matitaEngine.cmx matitaAuthentication.cmi
+matitaAuthentication.cmo: matitaFilesystem.cmi matitaEngine.cmi \
+ matitaAuthentication.cmi
+matitaAuthentication.cmx: matitaFilesystem.cmx matitaEngine.cmx \
+ matitaAuthentication.cmi
matitaclean.cmo: matitaMisc.cmi matitaInit.cmi matitaclean.cmi
matitaclean.cmx: matitaMisc.cmx matitaInit.cmx matitaclean.cmi
matitac.cmo: matitaclean.cmi matitaMisc.cmi matitaInit.cmi matitaEngine.cmi
matitac.cmx: matitaclean.cmx matitaMisc.cmx matitaInit.cmx matitaEngine.cmx
-matitadaemon.cmo: matitaInit.cmi matitaEngine.cmi matitaAuthentication.cmi \
- applyTransformation.cmi
-matitadaemon.cmx: matitaInit.cmx matitaEngine.cmx matitaAuthentication.cmx \
- applyTransformation.cmx
+matitadaemon.cmo: matitaInit.cmi matitaFilesystem.cmi matitaEngine.cmi \
+ matitaAuthentication.cmi applyTransformation.cmi
+matitadaemon.cmx: matitaInit.cmx matitaFilesystem.cmx matitaEngine.cmx \
+ matitaAuthentication.cmx applyTransformation.cmx
matitaEngine.cmo: applyTransformation.cmi matitaEngine.cmi
matitaEngine.cmx: applyTransformation.cmx matitaEngine.cmi
matitaExcPp.cmo: matitaEngine.cmi matitaExcPp.cmi
matitaExcPp.cmx: matitaEngine.cmx matitaExcPp.cmi
+matitaFilesystem.cmo: matitaFilesystem.cmi
+matitaFilesystem.cmx: matitaFilesystem.cmi
matitaGeneratedGui.cmo:
matitaGeneratedGui.cmx:
matitaGtkMisc.cmo: matitaTypes.cmi matitaGeneratedGui.cmo buildTimeConf.cmo \
matitaclean.cmi:
matitaEngine.cmi: applyTransformation.cmi
matitaExcPp.cmi:
+matitaFilesystem.cmi:
matitaGtkMisc.cmi: matitaGeneratedGui.cmo
matitaGui.cmi: matitaGuiTypes.cmi
matitaGuiTypes.cmi: matitaGeneratedGui.cmo applyTransformation.cmi
UTF8DIR := $(shell $(OCAMLFIND) query helm-syntax_extensions)
ULEXDIR := $(shell $(OCAMLFIND) query ulex08)
+
matitaScriptLexer.cmo: SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
matitaFilesystem.cmi: matitaFilesystem.mli
.PHONY: depend
-depend:
+depend: SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
$(H)echo " OCAMLDEP"
$(H)$(OCAMLDEP) *.ml *.mli > .depend
-depend.opt:
+depend.opt: SYNTAXOPTIONS = -pp "camlp5o -I $(UTF8DIR) -I $(ULEXDIR) pa_extend.cmo pa_ulex.cma pa_unicode_macro.cma -loc loc"
$(H)echo " OCAMLDEP -native"
$(H)$(OCAMLDEP) -native *.ml *.mli > .depend.opt
let userpw = cgi#argument_value "password" in
(try
MatitaAuthentication.add_user uid userpw;
- env#set_output_header_field "Location" "/index.html"
+(* env#set_output_header_field "Location" "/index.html" *)
+ cgi#outchannel#output_string
+ ("<html><head><meta http-equiv=\"refresh\" content=\"2;url=/login.html\">"
+ ^ "</head><body>Redirecting to login page...</body></html>")
with
| MatitaAuthentication.UsernameCollision _ ->
cgi#set_header
cgi#set_header ~set_cookies:[cookie] (); *)
env#set_output_header_field
"Set-Cookie" ("session=" ^ (Uuidm.to_string sid));
- env#set_output_header_field "Location" "/index.html"
+(* env#set_output_header_field "Location" "/index.html" *)
+ cgi#outchannel#output_string
+ ("<html><head><meta http-equiv=\"refresh\" content=\"2;url=/index.html\">"
+ ^ "</head><body>Redirecting to Matita page...</body></html>")
end
else
begin