Add stamp target to doc/Makefile.

This commit is contained in:
Graydon Hoare 2010-07-03 21:48:31 -07:00
parent 965e5287ba
commit f2ffa57ddf

View file

@ -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