summaryrefslogtreecommitdiff
path: root/makeall.sh
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-04-07 11:27:24 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-04-07 11:27:24 +0000
commit0d72c03b04da8da3edb551917c0718277c696f4f (patch)
tree5d24406ed23fc2ce33a76a2de6dd75c33235f047 /makeall.sh
parent1d0d8895780d4fbc33f7f40b7d7dc92b13191edd (diff)
makeall: move parts out to makezip.sh
Useful to pack up tex source in a zip file. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@339 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'makeall.sh')
-rwxr-xr-xmakeall.sh19
1 files changed, 1 insertions, 18 deletions
diff --git a/makeall.sh b/makeall.sh
index dc66b4d..28a690f 100755
--- a/makeall.sh
+++ b/makeall.sh
@@ -1,22 +1,5 @@
export SPECDOC=${SPECDOC:-`cat REVISION`}
-rm -f $SPECDOC
-if test -d .git; then
- git archive --format=zip --prefix=tex/ -o $SPECDOC.zip HEAD
-elif test -d .svn; then
- rm -fr export-from-svn
- mkdir -p export-from-svn
- svn export . export-from-svn/tex
- cd export-from-svn/
- zip ../$SPECDOC.zip tex/
- cd ..
-else
- echo Neither .git nor .svn found.
- echo Falling back to generated list.
-fi
-zip -d $SPECDOC.zip tex/.gitattributes
-mkdir -p listings
-cp virtio-ring.h listings/virtio_ring.h
-zip $SPECDOC.zip listings/virtio_ring.h
+./makezip.sh
./makehtml.sh
./makepdf.sh
zip $SPECDOC.zip $SPECDOC.pdf