aboutsummaryrefslogtreecommitdiffstats
path: root/makediffhtml.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 /makediffhtml.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 'makediffhtml.sh')
-rwxr-xr-xmakediffhtml.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/makediffhtml.sh b/makediffhtml.sh
index f8f8783..4960624 100755
--- a/makediffhtml.sh
+++ b/makediffhtml.sh
@@ -3,7 +3,8 @@
./makediff.sh virtio-html.tex || exit 3
SPECDOC=${SPECDOC:-`cat REVISION`}
-SPECDOC="${SPECDOC}-diff"
+FROMVERSION=${FROMVERSION:-`cat DIFFVERSION`}
+SPECDOC="${SPECDOC}-diff-from-${FROMVERSION}"
./make-setup-generated.sh "$SPECDOC"