Commits

Reid van Melle  committed a380a45

Added ability to generate documentation

  • Participants
  • Parent commits aba7361

Comments (0)

Files changed (2)

 - fix byte mode compilation
 - get working install script
 - as_actor should return actor object rather than 'actor obj
+- get documentation generating
 
 - ml pack clutter ?
 - ClutterScore

File src/Makefile.in

 OPT_TARGETS	:= mlclutter.cmxa
 C_ARCHIVES      := libclutter-ocaml.a
 
+DOCDIR   = ../doc
+DOCFILES := $(OBJS:.cmo=.ml)
+doc: $(DOCFILES)
+	mkdir -p $(DOCDIR)/html
+	ocamlfind ocamldoc -package lablgtk2,cairo -html -t ClutterOcaml -d $(DOCDIR)/html $(DOCFILES)
+
 .ml4.cmo:
 	$(OCAMLC) -c -pp "$(CAMLP4O) -impl" -impl $<