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
|
all: rust.pdf rust.html
|
||||||
|
|
||||||
|
@ -11,6 +12,9 @@ version.texi: Makefile
|
||||||
%.html: %.texi version.texi
|
%.html: %.texi version.texi
|
||||||
makeinfo --html --ifhtml --force --no-split --output=$@ $<
|
makeinfo --html --ifhtml --force --no-split --output=$@ $<
|
||||||
|
|
||||||
|
snap: rust.pdf
|
||||||
|
mv $< rust-$(DOC_VER).pdf
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f rust.aux rust.cp rust.fn rust.ky rust.log rust.pdf \
|
rm -f rust.aux rust.cp rust.fn rust.ky rust.log rust.pdf \
|
||||||
rust.html rust.pg rust.toc rust.tp rust.vr
|
rust.html rust.pg rust.toc rust.tp rust.vr
|
Loading…
Reference in New Issue