aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRalph Giles <[email protected]>2010-11-03 10:42:51 -0700
committerGraydon Hoare <[email protected]>2010-11-03 15:37:54 -0700
commit4af0db4d763202aa9e456684ea47b15b60004554 (patch)
treea2769eda2e6ae2eea2152cd7e2afd91e40102393 /doc
parentFix two documentation typos. (diff)
downloadrust-4af0db4d763202aa9e456684ea47b15b60004554.tar.xz
rust-4af0db4d763202aa9e456684ea47b15b60004554.zip
Make version.texi depend on rust.texi.
This will at least update the version string on the title page when the book source changes. It may not be entirely accurate since rust.texi may have uncommitted changes. But previously, it was basically only ever updated on the first build or after 'make clean'.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile
index c1e3f5c1..4d3a7d03 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -2,7 +2,7 @@ DOC_VER := $(shell date +"%Y-%m-%d")-snap
all: rust.pdf rust.html
-version.texi: Makefile
+version.texi: Makefile rust.texi
git log -1 \
--format='@macro gitversion%n%h %ci%n@end macro%n' >$@