Copyright © 2003 Richard Carlsson
Authors: Richard Carlsson (richardc@csd.uu.se).
See also: edoc.
$(DOCDIR)/%.html:%.erl erl -noshell -run edoc_run file '"$<"' '[{dir,"$(DOCDIR)"}]' -s init stop(note the single-quotes to avoid shell expansion, and the double-quotes enclosing the strings).
application/1 | |
file/1 | Calls edoc:file/2 with the corresponding arguments. |
toc/1 |
file(Args::[string()]) -> ok | error
Calls edoc:file/2
with the corresponding arguments. The
strings in the list are parsed as Erlang constant terms. The list can
be either [File]
or [File, Options]
. In the first case, an empty
list of options is passed to edoc:file/2
. See also the usage
example above.