summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2007-12-18 18:04:12 +0000
committerBadlop <badlop@process-one.net>2007-12-18 18:04:12 +0000
commit2cfa98332541ad7915fe4db7f9728fa709decaed (patch)
tree25ba984c82a2b333cbdf71d3fc2ed8ff292d3cd9 /doc/Makefile
parentPurge related pep nodes at remove_user (diff)
* doc/Makefile: Support for conditional inclusion of documentation
from contributed modules * doc/guide.tex: Likewise SVN Revision: 1078
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 2bda03c6..b579793c 100644
--- a/doc/Makefile
+++ b/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