Generate toc_url entry into XML
[exim-website.git] / script / build.sh
1 #!/bin/sh
2
3 TARGET=${1-/srv/www/vhosts/www.exim.org}
4 LATEST=`(cd docbook; ls -1d [0-9].[0-9]* | tail -1)`
5
6 set -x
7 script/gen.pl \
8   --web \
9   --spec docbook/*/spec.xml \
10   --filter  docbook/*/filter.xml \
11   --latest ${LATEST} \
12   --tmpl templates \
13   --docroot ${TARGET}