diff options
author | mstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2013-12-01 21:45:29 +0000 |
---|---|---|
committer | mstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2013-12-01 21:45:29 +0000 |
commit | 823702fb40ab6283fdb9375bb2e3dc6ea680c3ec (patch) | |
tree | 1a4a6d73c74326ed4ea9361540285617048e5c96 /makeall.sh | |
parent | 9ede441dd7c2a681d1adeacf4e879972c86db310 (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 'makeall.sh')
-rwxr-xr-x | makeall.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/makeall.sh b/makeall.sh new file mode 100755 index 0000000..dbdfd73 --- /dev/null +++ b/makeall.sh @@ -0,0 +1,17 @@ +export SPECDOC=${SPECDOC:-virtio-v1.0-wd01} +rm -f $SPECDOC +git archive --format=zip --prefix=tex/ -o $SPECDOC.zip HEAD +zip -d $SPECDOC.zip tex/.gitattributes +./makehtml.sh +./makepdf.sh +zip $SPECDOC.zip $SPECDOC.pdf +mkdir -p listings +cp virtio-ring.h listings/virtio_ring.h +zip $SPECDOC.zip listings/virtio_ring.h +echo Generated file $SPECDOC.zip +echo To change output file name, set SPECDOC environment variable +echo Examples: +echo SPECDOC=virtio-v1.0-wd01 $0 +echo SPECDOC=virtio-v1.0-csd01 $0 +echo SPECDOC=virtio-v1.0-csprd01 $0 +echo SPECDOC=virtio-v1.0-os $0 |