mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Add stamp target to doc/Makefile.
This commit is contained in:
parent
965e5287ba
commit
f2ffa57ddf
@ -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
|
Loading…
Reference in New Issue
Block a user