X-Git-Url: https://git.exim.org/exim-website.git/blobdiff_plain/c71e2d2b5ca84ba97f05ea6b314b594da31fec4a..e3dd931a27606298b9fd729b2bcd5c07a458af28:/script/build.sh?ds=sidebyside diff --git a/script/build.sh b/script/build.sh index 4f46121..408b0d4 100755 --- a/script/build.sh +++ b/script/build.sh @@ -1,11 +1,13 @@ #!/bin/sh -TARGET=${1-/srv/www/vhosts/dev.exim.org} +TARGET=${1-/srv/www/vhosts/www.exim.org} +LATEST=`(cd docbook; ls -1d [0-9].[0-9]* | tail -1)` +set -x script/gen.pl \ --web \ --spec docbook/*/spec.xml \ --filter docbook/*/filter.xml \ - --latest 4.72 \ + --latest ${LATEST} \ --tmpl templates \ --docroot ${TARGET}