summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-10-19 10:18:50 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-10-19 10:18:50 +0000
commit67dbeffd24e0d25461265108f4a78926e1f1137d (patch)
tree1e3f9067e8f16bd0de876f16390c5ff93271a5f8
parent70c19d1938b4310efcb3423baca272e1dd264c2c (diff)
makediff: force revision and date in environment
git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@429 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
-rwxr-xr-xmakediff.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/makediff.sh b/makediff.sh
index 1960dbd..b3a3624 100755
--- a/makediff.sh
+++ b/makediff.sh
@@ -1,3 +1,8 @@
+#force revision and date in environment
+#this way they don't appear in the diff
+export SPECDOC=${SPECDOC:-`cat REVISION`}
+export DATESTR=${DATESTR:-`cat REVISION-DATE`}
+
#make pdf diff using latexpand and latexdiff-fast
#preamble in diffpreamble.tex
#in diff, links are coloured green instead of blue