2005-11-25 00:01:48 +01:00
|
|
|
# $Id$
|
|
|
|
|
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"
|
2007-01-11 09:17:18 +01:00
|
|
|
@echo "* Do not forget to update the version number in src/ejabberd.hrl!"
|
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
|
2007-12-01 17:43:04 +01:00
|
|
|
@echo "\\\newcommand{\\\version}{"`cat ../src/ejabberd.hrl | grep VERSION | sed s/-define\(VERSION,\ \"//g | sed s/\"\).//g`"}" >> version.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 *.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
|
2005-11-25 00:01:48 +01:00
|
|
|
|
|
|
|
guide.html: guide.tex
|
2006-09-22 11:09:28 +02:00
|
|
|
hevea -fix -noiso -pedantic guide.tex
|
2007-12-01 17:43:04 +01:00
|
|
|
|
2005-11-25 00:01:48 +01:00
|
|
|
dev.html: dev.tex
|
2006-09-22 11:09:28 +02:00
|
|
|
hevea -fix -noiso -pedantic dev.tex
|
2005-12-16 17:33:42 +01:00
|
|
|
|
|
|
|
features.html: features.tex
|
2006-09-22 11:09:28 +02:00
|
|
|
hevea -fix -noiso -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
|