diff options
| author | UENISHI Kota <kuenishi+github@gmail.com> | 2010-07-18 23:40:25 +0900 |
|---|---|---|
| committer | UENISHI Kota <kuenishi+github@gmail.com> | 2010-07-18 23:40:25 +0900 |
| commit | 7b152640d962434192496e4d96788622d4e90886 (patch) | |
| tree | 2f17772cd52bdaa1534023062a74a2b0a26d9896 /erlang/OMakefile | |
| parent | 78fddff34e517e64d993f658db7e4c693ec8cc66 (diff) | |
| download | msgpack-python-7b152640d962434192496e4d96788622d4e90886.tar.gz | |
erlang: 'edoc' document generation
Diffstat (limited to 'erlang/OMakefile')
| -rw-r--r-- | erlang/OMakefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/erlang/OMakefile b/erlang/OMakefile index 89b1c63..d213444 100644 --- a/erlang/OMakefile +++ b/erlang/OMakefile @@ -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 |
