Skip to content

Commit

Permalink
Make version.texi depend on rust.texi.
Browse files Browse the repository at this point in the history
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'.
  • Loading branch information
rillian authored and graydon committed Nov 3, 2010
1 parent c45d21e commit 4af0db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Makefile
Expand Up @@ -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' >$@

Expand Down

0 comments on commit 4af0db4

Please sign in to comment.