summaryrefslogtreecommitdiff
path: root/makehtml.sh
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-11-25 12:24:09 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-11-25 12:24:09 +0000
commitc9d7e8c63abf3e325a7d3e62e6322391b113191e (patch)
tree3e8ca35c467cf69a992457d60333ed50bd2519a5 /makehtml.sh
parent40af2b9446cbc68e7c6f44fe26c3bb23e65b05aa (diff)
makehtml: use local t4ht stub
Fedora seems to ship a broken t4ht. Skip it. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@104 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'makehtml.sh')
-rwxr-xr-xmakehtml.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/makehtml.sh b/makehtml.sh
index 000a5bc..fea1ff7 100755
--- a/makehtml.sh
+++ b/makehtml.sh
@@ -2,7 +2,7 @@
SPECDOC=virtio-v1.0-csd01-html
-htlatex $SPECDOC.tex "virtiohtml,info,charset=utf-8" " -cunihtf -utf8"
+PATH=.:${PATH} htlatex $SPECDOC.tex "virtiohtml,info,charset=utf-8" " -cunihtf -utf8"
mv $SPECDOC.html $SPECDOC.tmp1
@@ -13,3 +13,5 @@ sed 's/~</"</g' $SPECDOC.tmp4 >$SPECDOC.tmp5
mv $SPECDOC.tmp5 $SPECDOC.html
rm $SPECDOC.tmp*
+
+zip $SPECDOC.zip $SPECDOC.html $SPECDOC.css images/*.png