diff options
| author | Graydon Hoare <[email protected]> | 2010-07-03 00:27:33 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-03 00:27:33 -0700 |
| commit | df0fa603d091eb92e9ce7d2be969ae78a11057e2 (patch) | |
| tree | 6ce0b17ca8366bd1fca560b4ca33f7dffb0a16cb /doc/Makefile | |
| parent | Hey, what's a coding sprint without an uncovered register allocation bug? No ... (diff) | |
| download | rust-df0fa603d091eb92e9ce7d2be969ae78a11057e2.tar.xz rust-df0fa603d091eb92e9ce7d2be969ae78a11057e2.zip | |
Add version-stamp machinery (and put "Draft + datestamp" into doc footer).
Diffstat (limited to 'doc/Makefile')
| -rw-r--r-- | doc/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile index 081a723b..8e07a9a1 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,10 +1,14 @@ all: rust.pdf rust.html -%.pdf: %.texi +version.texi: Makefile + git log -1 \ + --format='@macro gitversion%n%h %ci%n@end macro%n' >$@ + +%.pdf: %.texi version.texi texi2pdf $< -%.html: %.texi +%.html: %.texi version.texi makeinfo --html --ifhtml --force --no-split --output=$@ $< clean: |