mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +01:00
* doc/Makefile: Support for conditional inclusion of documentation
from contributed modules * doc/guide.tex: Likewise SVN Revision: 1078
This commit is contained in:
parent
c0b2c5744f
commit
2cfa983325
@ -1,3 +1,9 @@
|
||||
2007-12-18 Badlop <badlop@process-one.net>
|
||||
|
||||
* doc/Makefile: Support for conditional inclusion of documentation
|
||||
from contributed modules
|
||||
* doc/guide.tex: Likewise
|
||||
|
||||
2007-12-18 Christophe Romain <christophe.romain@process-one.net>
|
||||
|
||||
* src/mod_pubsub/mod_pubsub.erl: Purge related pep nodes at remove_user
|
||||
|
11
doc/Makefile
11
doc/Makefile
@ -1,5 +1,14 @@
|
||||
# $Id$
|
||||
|
||||
CONTRIBUTED_MODULES = ""
|
||||
ifeq ($(shell ls mod_http_bind.tex),mod_http_bind.tex)
|
||||
CONTRIBUTED_MODULES += "\\r\\n\\setboolean{modhttpbind}{true}"
|
||||
endif
|
||||
ifeq ($(shell ls mod_http_fileserver.tex),mod_http_fileserver.tex)
|
||||
CONTRIBUTED_MODULES += "\\r\\n\\setboolean{modhttpfileserver}{true}"
|
||||
endif
|
||||
|
||||
|
||||
all: release pdf html
|
||||
|
||||
release:
|
||||
@ -11,6 +20,8 @@ release:
|
||||
@read foo
|
||||
@echo "% ejabberd version (automatically generated)." > version.tex
|
||||
@echo "\\\newcommand{\\\version}{"`cat ../src/ejabberd.hrl | grep VERSION | sed s/-define\(VERSION,\ \"//g | sed s/\"\).//g`"}" >> version.tex
|
||||
@echo -n "% Contributed modules (automatically generated)." > contributed_modules.tex
|
||||
@echo "$(CONTRIBUTED_MODULES)" >> contributed_modules.tex
|
||||
|
||||
html: guide.html dev.html features.html
|
||||
|
||||
|
@ -87,6 +87,14 @@
|
||||
\newcommand{\modvcardodbc}{\module{mod\_vcard\_odbc}}
|
||||
\newcommand{\modversion}{\module{mod\_version}}
|
||||
|
||||
%% Contributed modules
|
||||
\usepackage{ifthen}
|
||||
\newboolean{modhttpbind}
|
||||
\newcommand{\modhttpbind}{\module{mod\_http\_bind}}
|
||||
\newboolean{modhttpfileserver}
|
||||
\newcommand{\modhttpfileserver}{\module{mod\_http\_fileserver}}
|
||||
\include{contributed_modules}
|
||||
|
||||
%% Common options
|
||||
\newcommand{\iqdiscitem}[1]{\titem{iqdisc} \ind{options!iqdisc}This specifies
|
||||
the processing discipline for #1 IQ queries (see section~\ref{modiqdiscoption}).}
|
||||
@ -2063,6 +2071,10 @@ Example: Mirror, mirror, on the wall, who is the most beautiful
|
||||
]}.
|
||||
\end{verbatim}
|
||||
|
||||
\ifthenelse{\boolean{modhttpbind}}{\input{mod_http_bind.tex}}{}
|
||||
|
||||
\ifthenelse{\boolean{modhttpfileserver}}{\input{mod_http_fileserver.tex}}{}
|
||||
|
||||
\subsection{\modirc{}}
|
||||
\label{modirc}
|
||||
\ind{modules!\modirc{}}\ind{IRC}
|
||||
|
Loading…
Reference in New Issue
Block a user