aboutsummaryrefslogtreecommitdiff
path: root/doc/api/Makefile
blob: de356ef20c8f317e331ae099e2c97a1c57eb4c6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
APPNAME = ejabberd
VSN = $(shell sed '/vsn/!d;s/\(.*\)"\(.*\)"\(.*\)/\2/' ../../src/ejabberd.app)

DOCDIR=.
SRCDIR=../../src

.PHONY = all

all: docs

clean:
	rm -f *.html
	rm edoc-info
	rm erlang.png

docs:
	erl -noshell -run edoc_run application \
	"'$(APPNAME)'" '"$(SRCDIR)"' '[{dir,"$(DOCDIR)"},{packages, false},{todo,true},{private,true},{def,{vsn,"$(VSN)"}},{stylesheet,"process-one.css"},{overview,"$(DOCDIR)/overview.edoc"}]' -s init stop