aboutsummaryrefslogtreecommitdiffstats
path: root/makediffpdf.sh
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2019-03-25 21:51:58 -0400
committerMichael S. Tsirkin <mst@redhat.com>2019-03-25 21:51:58 -0400
commit751cb574775a2a043e760f0beff6edaeb35044c8 (patch)
tree97744046fb12c61d04723fde82f0ab1ceb13624d /makediffpdf.sh
parent11b8efeb63d9d81b6ccc1f4669ca21e08efa4ec5 (diff)
downloadvirtio-spec-751cb574775a2a043e760f0beff6edaeb35044c8.tar.gz
scripts: ability to diff with multiple versions
Useful for releases with non-material changes. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'makediffpdf.sh')
-rwxr-xr-xmakediffpdf.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/makediffpdf.sh b/makediffpdf.sh
index b3031c4..1ec55f6 100755
--- a/makediffpdf.sh
+++ b/makediffpdf.sh
@@ -1,7 +1,8 @@
#make pdf diff using latexpand and latexdiff-fast
./makediff.sh virtio.tex || exit 3
SPECDOC=${SPECDOC:-`cat REVISION`}
-SPECDOC="${SPECDOC}-diff"
+FROMVERSION=${FROMVERSION:-`cat DIFFVERSION`}
+SPECDOC="${SPECDOC}-diff-from-${FROMVERSION}"
rm $SPECDOC.aux $SPECDOC.pdf $SPECDOC.out
xelatex --jobname $SPECDOC virtio-diff.tex
xelatex --jobname $SPECDOC virtio-diff.tex