diff options
-rwxr-xr-x | makeall.sh | 1 | ||||
-rwxr-xr-x | makediffall.sh | 1 | ||||
-rwxr-xr-x | maketex.sh | 1 | ||||
-rwxr-xr-x | makezip.sh | 8 |
4 files changed, 11 insertions, 0 deletions
@@ -1,4 +1,5 @@ export SPECDOC=${SPECDOC:-`cat REVISION`} +export DATESTR=${DATESTR:-`cat REVISION-DATE`} ./makezip.sh ./makehtml.sh ./makepdf.sh diff --git a/makediffall.sh b/makediffall.sh index 813dc36..51a6ec6 100755 --- a/makediffall.sh +++ b/makediffall.sh @@ -1,4 +1,5 @@ export SPECDOC=${SPECDOC:-`cat REVISION`} +export DATESTR=${DATESTR:-`cat REVISION-DATE`} ./makezip.sh ./makehtml.sh ./makediffhtml.sh @@ -1,2 +1,3 @@ export SPECDOC=${SPECDOC:-`cat REVISION`}-tex +export DATESTR=${DATESTR:-`cat REVISION-DATE`} ./makezip.sh @@ -1,4 +1,5 @@ export SPECDOC=${SPECDOC:-`cat REVISION`} +export DATESTR=${DATESTR:-`cat REVISION-DATE`} rm -f $SPECDOC.zip if test -d .git; then git archive --format=zip --prefix=tex/ -o $SPECDOC.zip HEAD @@ -14,6 +15,13 @@ else echo Falling back to generated list. fi zip -d $SPECDOC.zip tex/.gitattributes +rm -fr listings mkdir -p listings cp virtio-ring.h listings/virtio_ring.h zip $SPECDOC.zip listings/virtio_ring.h +rm -fr tmpfilesforzip +mkdir -p tmpfilesforzip/tex +echo "$SPECDOC" > tmpfilesforzip/tex/REVISION +echo "$DATESTR" > tmpfilesforzip/tex/REVISION-DATE +cd tmpfilesforzip +zip ../$SPECDOC.zip tex/* |