4 echo "No target directory given; aborting...">&2
9 echo "Target directory does not seem to be CVS managed; aborting..." >&2
13 tmp=$(mktemp -d /tmp/uv.XXXXXX)/doc || exit 1
14 trap "rm -rf $tmp" EXIT
16 mkdir -p "$tmp"/{apidoc/html,conf}
17 install -p -m644 doc/*.css doc/*.html "$tmp"/conf/
18 install -p -m644 lib/apidoc/latex/refman.pdf "$tmp"/apidoc/refman.pdf
19 install -p -m644 lib/apidoc/html/*.{css,html,png} "$tmp"/apidoc/html/
21 rsync -av --delete --exclude=lt2004 --exclude=virtual-servers.pdf --exclude=css \
22 --exclude=img --exclude=CVS --exclude=.symlinks --exclude=.htaccess "$tmp"/ "$1"/