mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-30 17:43:57 +01:00
5fdcb52306
OTP application resource file, in the key 'vsn' (EJAB-657) * src/ejabberd.hrl: The macro VERSION now consults the ejabberd application key vsn * src/configure.erl: Load the ejabberd application description * doc/Makefile: Read ejabberd version from ejabberd.app vsn * doc/api/Makefile: Likewise SVN Revision: 1361
19 lines
449 B
Makefile
19 lines
449 B
Makefile
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
|