erlang: 'edoc' document generation

This commit is contained in:
UENISHI Kota 2010-07-18 23:40:25 +09:00
parent 78fddff34e
commit 7b152640d9
4 changed files with 11 additions and 3 deletions

1
erlang/.gitignore vendored
View File

@ -2,3 +2,4 @@ MANIFEST
*.beam
.omakedb*
*.omc
*~

View File

@ -30,10 +30,10 @@
# If so, define the subdirectory targets and uncomment this section.
#
.DEFAULT: msgpack.beam msgpack.html
.DEFAULT: msgpack.beam
msgpack.beam: msgpack.erl
erlc $<
erlc -Wall +debug_info $<
msgpack.html: msgpack.erl
erl -noshell -run edoc_run file $<
@ -41,5 +41,8 @@ msgpack.html: msgpack.erl
test: msgpack.beam
erl -noshell -s msgpack test -s init stop
edoc: msgpack.erl
erl -noshell -eval 'ok=edoc:files(["msgpack.erl"], [{dir, "edoc"}]).' -s init stop
clean:
-rm -f *.beam *.html

4
erlang/edoc/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.html
*.css
*.png
edoc-info

View File

@ -18,7 +18,7 @@
%% @doc <a href="http://msgpack.org/">MessagePack</a> codec for Erlang.
%%
%% APIs are almost compatible with <a href="http://msgpack.sourceforge.jp/c:doc">C API</a>
%% APIs are almost compatible with <a href="http://redmine.msgpack.org/projects/msgpack/wiki/QuickStartC">C API</a>
%% except for buffering functions (both copying and zero-copying), which are unavailable.
%%
%% <table border="1">