aboutsummaryrefslogtreecommitdiff
path: root/doc/api/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/Makefile')
-rw-r--r--doc/api/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/api/Makefile b/doc/api/Makefile
new file mode 100644
index 000000000..66f399555
--- /dev/null
+++ b/doc/api/Makefile
@@ -0,0 +1,17 @@
+APPNAME = ejabberd
+VSN = SVN
+
+DOCDIR=.
+SRCDIR=../../src
+
+.PHONY = all
+
+all: docs
+
+clean:
+ rm -f *.html
+ rm edoc-info
+
+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