mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-12 15:57:31 +01:00
f25316c1e7
* src/configure: Likewise * src/Makefile.in: The mnesia, ebin and priv dirs are now installed in different locations. Install header files and documentation (EJAB-696) * doc/guide.tex: Likewise * doc/guide.html: Likewise * include/*.hrl: Place for all ejabberd header files (EJAB-696) * src/*/*.erl: Update references to header files * src/*/Makefile.in: Include the include/ dir SVN Revision: 1441
63 lines
1.6 KiB
Makefile
63 lines
1.6 KiB
Makefile
# $Id$
|
|
|
|
SHELL = /bin/bash
|
|
|
|
CONTRIBUTED_MODULES = ""
|
|
ifeq ($(shell ls mod_http_bind.tex),mod_http_bind.tex)
|
|
CONTRIBUTED_MODULES += "\\n\\setboolean{modhttpbind}{true}"
|
|
endif
|
|
ifeq ($(shell ls mod_http_fileserver.tex),mod_http_fileserver.tex)
|
|
CONTRIBUTED_MODULES += "\\n\\setboolean{modhttpfileserver}{true}"
|
|
endif
|
|
|
|
|
|
all: release pdf html
|
|
|
|
release:
|
|
@echo "Notes for the releaser:"
|
|
@echo "* Do not forget to add a link to the release notes in guide.tex"
|
|
@echo "* Do not forget to update the version number in src/ejabberd.app!"
|
|
@echo "* Do not forget to update the features in introduction.tex (including \new{} and \improved{} tags)."
|
|
@echo "Press any key to continue"
|
|
@read foo
|
|
@echo "% ejabberd version (automatically generated)." > version.tex
|
|
@echo "\newcommand{\version}{"`sed '/vsn/!d;s/\(.*\)"\(.*\)"\(.*\)/\2/' ../src/ejabberd.app`"}" >> version.tex
|
|
@echo -n "% Contributed modules (automatically generated)." > contributed_modules.tex
|
|
@echo -e "$(CONTRIBUTED_MODULES)" >> contributed_modules.tex
|
|
|
|
html: guide.html dev.html features.html
|
|
|
|
pdf: guide.pdf features.pdf
|
|
|
|
clean:
|
|
rm -f *.aux
|
|
rm -f *.haux
|
|
rm -f *.html
|
|
rm -f *.htoc
|
|
rm -f *.idx
|
|
rm -f *.ilg
|
|
rm -f *.ind
|
|
rm -f *.log
|
|
rm -f *.out
|
|
rm -f *.pdf
|
|
rm -f *.toc
|
|
|
|
guide.html: guide.tex
|
|
hevea -fix -pedantic guide.tex
|
|
|
|
dev.html: dev.tex
|
|
hevea -fix -pedantic dev.tex
|
|
|
|
features.html: features.tex
|
|
hevea -fix -pedantic features.tex
|
|
|
|
guide.pdf: guide.tex
|
|
pdflatex guide.tex
|
|
pdflatex guide.tex
|
|
pdflatex guide.tex
|
|
makeindex guide.idx
|
|
pdflatex guide.tex
|
|
|
|
features.pdf: features.tex
|
|
pdflatex features.tex
|