aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile
blob: 8e07a9a19f03b79029cb44a4267e9b8390065f6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
	texi2pdf $<

%.html: %.texi version.texi
	makeinfo --html --ifhtml --force --no-split --output=$@ $<

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