aboutsummaryrefslogtreecommitdiffstats
path: root/makediffpdf.sh
diff options
context:
space:
mode:
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