2005-11-25 00:01:48 +01:00
|
|
|
# $Id$
|
|
|
|
|
2008-01-15 18:53:40 +01:00
|
|
|
SHELL = /bin/bash
|
|
|
|
|
2007-12-18 19:04:12 +01:00
|
|
|
CONTRIBUTED_MODULES = ""
|
|
|
|
ifeq ($(shell ls mod_http_bind.tex),mod_http_bind.tex)
|
2008-01-25 11:23:12 +01:00
|
|
|
CONTRIBUTED_MODULES += "\\n\\setboolean{modhttpbind}{true}"
|
2007-12-18 19:04:12 +01:00
|
|
|
endif
|
|
|
|
ifeq ($(shell ls mod_http_fileserver.tex),mod_http_fileserver.tex)
|
2008-01-25 11:23:12 +01:00
|
|
|
CONTRIBUTED_MODULES += "\\n\\setboolean{modhttpfileserver}{true}"
|
2007-12-18 19:04:12 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2005-12-16 17:33:42 +01:00
|
|
|
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"
|
2008-07-15 10:45:05 +02:00
|
|
|
@echo "* Do not forget to update the version number in src/ejabberd.app!"
|
2005-12-16 17:33:42 +01:00
|
|
|
@echo "* Do not forget to update the features in introduction.tex (including \new{} and \improved{} tags)."
|
2007-12-06 16:31:17 +01:00
|
|
|
@echo "Press any key to continue"
|
|
|
|
@read foo
|
2007-01-11 09:17:18 +01:00
|
|
|
@echo "% ejabberd version (automatically generated)." > version.tex
|
2008-06-18 23:33:48 +02:00
|
|
|
@echo "\newcommand{\version}{"`sed '/vsn/!d;s/\(.*\)"\(.*\)"\(.*\)/\2/' ../src/ejabberd.app`"}" >> version.tex
|
2007-12-18 19:04:12 +01:00
|
|
|
@echo -n "% Contributed modules (automatically generated)." > contributed_modules.tex
|
2008-01-25 11:23:12 +01:00
|
|
|
@echo -e "$(CONTRIBUTED_MODULES)" >> contributed_modules.tex
|
2005-12-16 17:33:42 +01:00
|
|
|
|
|
|
|
html: guide.html dev.html features.html
|
|
|
|
|
|
|
|
pdf: guide.pdf features.pdf
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.aux
|
|
|
|
rm -f *.haux
|
|
|
|
rm -f *.htoc
|
|
|
|
rm -f *.idx
|
|
|
|
rm -f *.ilg
|
|
|
|
rm -f *.ind
|
|
|
|
rm -f *.log
|
|
|
|
rm -f *.out
|
|
|
|
rm -f *.pdf
|
|
|
|
rm -f *.toc
|
Merge from trunk: 1835, 1836, 1842, 1843, 1854, 1858, 1860, 1861, and 1862.
* doc/Makefile: In Clean do not remove html. In new Distclean,
remove also html.
* doc/Makefile: When cleaning, remove contributed_modules.tex
* src/Makefile.in: Fix arguments to Install program
* doc/guide.tex: Provide only an example of language option
* doc/guide.html: Likewise
* doc/guide.tex: mod_muc can run in several nodes of cluster
* doc/guide.html: Likewise
* doc/api/process-one.css: Add some style to HTML elements
* src/ejabberd_listener.erl: Fix EDoc errors
* src/web/ejabberd_web_admin.erl: Likewise
* src/ejabberd_hooks.erl: Explanation in EDoc of some functions
* doc/guide.tex: Explain that account creation is only supported
by internal and odbc authentication methods
* doc/guide.html: Likewise
* src/Makefile.in: The path to the installed copy of ejabberd
Guide is set in the environment variable
EJABBERD_DOC_PATH (EJAB-837).
* src/web/ejabberd_web_admin.erl: Likewise
* src/ejabberdctl.template: Likewise
* doc/guide.tex: Likewise
* doc/guide.html: Likewise
SVN Revision: 1937
2009-03-03 19:11:23 +01:00
|
|
|
[ ! -f contributed_modules.tex ] || rm contributed_modules.tex
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f *.html
|
2005-11-25 00:01:48 +01:00
|
|
|
|
|
|
|
guide.html: guide.tex
|
2008-03-31 12:36:41 +02:00
|
|
|
hevea -fix -pedantic guide.tex
|
2007-12-01 17:43:04 +01:00
|
|
|
|
2005-11-25 00:01:48 +01:00
|
|
|
dev.html: dev.tex
|
2008-03-31 12:36:41 +02:00
|
|
|
hevea -fix -pedantic dev.tex
|
2005-12-16 17:33:42 +01:00
|
|
|
|
|
|
|
features.html: features.tex
|
2008-03-31 12:36:41 +02:00
|
|
|
hevea -fix -pedantic features.tex
|
2005-11-25 00:01:48 +01:00
|
|
|
|
2005-12-16 17:33:42 +01:00
|
|
|
guide.pdf: guide.tex
|
|
|
|
pdflatex guide.tex
|
|
|
|
pdflatex guide.tex
|
|
|
|
pdflatex guide.tex
|
|
|
|
makeindex guide.idx
|
|
|
|
pdflatex guide.tex
|
2005-11-25 00:01:48 +01:00
|
|
|
|
2005-12-16 17:33:42 +01:00
|
|
|
features.pdf: features.tex
|
|
|
|
pdflatex features.tex
|