Allow -RCX in document's version number
[exim-website.git] / script / build
1 #!/bin/sh
2
3 TARGET=${1:-/srv/www/vhosts/www.exim.org}
4 LATEST=`(cd docbook; ls -1dv [0-9].[0-9]* | tail -1)`
5
6 script/gen \
7   --web \
8   --spec docbook/*/spec.xml \
9   --filter  docbook/*/filter.xml \
10   --tmpl templates \
11   --latest "$LATEST" \
12   --docroot "$TARGET"