summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-08 12:30:40 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-08 12:30:40 +0000
commitb1fdac38dc26cb59d0e6a2ea4490fc3db47325ac (patch)
tree40bb4e04205040aec8ead34e3b7aa71cfa5871f0
parentf1348293f9182fe407beb7d01c727d5dca755257 (diff)
makeall.sh: take revision from REVISION by default
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@163 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
-rwxr-xr-xmakeall.sh2
-rwxr-xr-xmakehtml.sh2
-rwxr-xr-xmakepdf.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/makeall.sh b/makeall.sh
index 9f17123..e2557ac 100755
--- a/makeall.sh
+++ b/makeall.sh
@@ -1,4 +1,4 @@
-export SPECDOC=${SPECDOC:-virtio-v1.0-wd01}
+export SPECDOC=${SPECDOC:-`cat REVISION`}
rm -f $SPECDOC
if test -d .git; then
git archive --format=zip --prefix=tex/ -o $SPECDOC.zip HEAD
diff --git a/makehtml.sh b/makehtml.sh
index c341c4c..2ca387b 100755
--- a/makehtml.sh
+++ b/makehtml.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-SPECDOC=${SPECDOC:-virtio-v1.0-csd01}
+SPECDOC=${SPECDOC:-`cat REVISION`}
./make-setup-generated.sh "$SPECDOC"
cp virtio-html.tex $SPECDOC.tex
diff --git a/makepdf.sh b/makepdf.sh
index b64c85c..a50797e 100755
--- a/makepdf.sh
+++ b/makepdf.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-SPECDOC=${SPECDOC:-virtio-v1.0-csd01}
+SPECDOC=${SPECDOC:-`cat REVISION`}
./make-setup-generated.sh "$SPECDOC"
rm $SPECDOC.aux $SPECDOC.pdf