summaryrefslogtreecommitdiff
path: root/makepdf.sh
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-01 21:45:29 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-01 21:45:29 +0000
commit823702fb40ab6283fdb9375bb2e3dc6ea680c3ec (patch)
tree1a4a6d73c74326ed4ea9361540285617048e5c96 /makepdf.sh
parent9ede441dd7c2a681d1adeacf4e879972c86db310 (diff)
tex: tweak generated output file names
Tweak output to match oasis requirements. Make it possible to specify output name through environment, and set draft stage and version automatically. Add script to export all files in a zip archive. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@142 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'makepdf.sh')
-rwxr-xr-xmakepdf.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/makepdf.sh b/makepdf.sh
index d0bae33..0e2a8f2 100755
--- a/makepdf.sh
+++ b/makepdf.sh
@@ -1,8 +1,8 @@
#!/bin/sh
-SPECDOC=virtio-v1.0-csd01
+SPECDOC=${SPECDOC:-virtio-v1.0-csd01}
-rm $SPECDOC.aux
+rm $SPECDOC.aux $SPECDOC.pdf
xelatex --jobname $SPECDOC virtio.tex
xelatex --jobname $SPECDOC virtio.tex
xelatex --jobname $SPECDOC virtio.tex