rust/doc/Makefile

16 lines
374 B
Makefile
Raw Normal View History

2010-06-16 23:30:45 +02:00
all: rust.pdf rust.html
version.texi: Makefile
git log -1 \
--format='@macro gitversion%n%h %ci%n@end macro%n' >$@
%.pdf: %.texi version.texi
2010-06-16 23:30:45 +02:00
texi2pdf $<
%.html: %.texi version.texi
2010-06-24 06:03:09 +02:00
makeinfo --html --ifhtml --force --no-split --output=$@ $<
2010-06-16 23:30:45 +02:00
clean:
2010-06-24 06:03:09 +02:00
rm -f rust.aux rust.cp rust.fn rust.ky rust.log rust.pdf \
rust.html rust.pg rust.toc rust.tp rust.vr