aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-07-03 21:48:31 -0700
committerGraydon Hoare <[email protected]>2010-07-03 21:48:31 -0700
commitf2ffa57ddf01a6670ff0954184006cfb814b1088 (patch)
tree00154559d86003db6f1e60443d7cd1825aa7c53f
parentAdd concept-index entries to docs, plus fix a few minor nits. (diff)
downloadrust-f2ffa57ddf01a6670ff0954184006cfb814b1088.tar.xz
rust-f2ffa57ddf01a6670ff0954184006cfb814b1088.zip
Add stamp target to doc/Makefile.
-rw-r--r--doc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 8e07a9a1..dc22f73f 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,3 +1,4 @@
+DOC_VER := $(shell date +"%Y-%m-%d")-snap
all: rust.pdf rust.html
@@ -11,6 +12,9 @@ version.texi: Makefile
%.html: %.texi version.texi
makeinfo --html --ifhtml --force --no-split --output=$@ $<
+snap: rust.pdf
+ mv $< rust-$(DOC_VER).pdf
+
clean:
rm -f rust.aux rust.cp rust.fn rust.ky rust.log rust.pdf \
rust.html rust.pg rust.toc rust.tp rust.vr \ No newline at end of file