From f2ffa57ddf01a6670ff0954184006cfb814b1088 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Sat, 3 Jul 2010 21:48:31 -0700 Subject: [PATCH] Add stamp target to doc/Makefile. --- doc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/Makefile b/doc/Makefile index 8e07a9a19f0..dc22f73fe1a 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