summaryrefslogtreecommitdiff
path: root/makehtml.sh
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-01 21:45:03 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-01 21:45:03 +0000
commit9ede441dd7c2a681d1adeacf4e879972c86db310 (patch)
treebe4e5f7e13cbe5620c3929fbb976e77e5dc9c47f /makehtml.sh
parent7f40233b30132da540523a623411b6916545074a (diff)
html: rename file
htlatex doesn't seem to support -jobname for output file name, so simply rename file before processing. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@141 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'makehtml.sh')
-rwxr-xr-xmakehtml.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/makehtml.sh b/makehtml.sh
index 9dafdaf..f322780 100755
--- a/makehtml.sh
+++ b/makehtml.sh
@@ -1,10 +1,12 @@
#!/bin/sh
-SPECDOC=virtio-v1.0-csd01-html
+SPECDOC=virtio-v1.0-csd01
+
+cp virtio-html.tex $SPECDOC.tex
#uncomment if you have a broken t4ht
#PATH=./t4ht-workaround:${PATH} htlatex $SPECDOC.tex "virtiohtml,info,charset=utf-8" " -cunihtf -utf8"
-htlatex $SPECDOC.tex "virtiohtml,info,charset=utf-8" " -cunihtf -utf8"
+htlatex $SPECDOC.tex "virtio-html,info,charset=utf-8" " -cunihtf -utf8"
rm $SPECDOC.aux
mv $SPECDOC.html $SPECDOC.tmp1