From 4af0db4d763202aa9e456684ea47b15b60004554 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Wed, 3 Nov 2010 10:42:51 -0700 Subject: [PATCH] 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'. --- doc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Makefile b/doc/Makefile index c1e3f5c1e37..4d3a7d038dd 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' >$@