Commits

Anonymous committed bffc684

edoc. TODO: add comments to tcadb.erl

Comments (0)

Files changed (3)

 */yatce.app
 *.tch
 *.tcb
+edoc/*
 	@echo "  make build (make b) - build all source code into *.beam/*.so"
 	@echo "  make test  (make t) - basic automated test. all operations will be checked."
 	@echo "  make perf  (make p) - performance test (not supported yet)"
+	@echo "  make edoc  (make d) - build edoc"
 	@echo "  make clean (make c) - clean all"
 
 b: build
 app:
 	sed -e 's;%VSN%;$(YATCE_VSN);' ./src/yatce.app.src > ./ebin/yatce.app
 
-##$(TARGET): # c_src/Makefile
-##	cd c_src && make
+e: edoc
+edoc: src/tcadb.erl
+	erl -noshell -eval 'ok=edoc:files(["src/tcadb.erl"], [{dir,"edoc"}]).' -s init stop
+#	erl -eval 'ok=edoc:packages(["src/tcadb.erl"], [{dir,"edoc"}]).' -s init stop
+#	escript ./build_edoc.erl
 
 t: test
 test: build
 		      %%     List misc(in string name, in List args);
 	]).
 
+
 -spec init() -> 'ok'.
 init()->
     case code:priv_dir(?MODULE) of