mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-10 16:58:46 +01:00
541f381145
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
18 lines
434 B
Makefile
18 lines
434 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
|
|
|
|
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
|