- added priority-donate-chain test which tests 8-level deep nested donation
[pintos.git] / doc / Makefile
blob44b20992c2b3f47d60744884084c05936e7e66f9
1 TEXIS = pintos.texi intro.texi threads.texi userprog.texi vm.texi \
2 filesys.texi license.texi reference.texi 44bsd.texi standards.texi \
3 doc.texi sample.tmpl.texi devel.texi debug.texi installation.texi \
4 bibliography.texi
6 all: pintos.html pintos.info pintos.dvi pintos.ps pintos.pdf
8 pintos.html: $(TEXIS) texi2html
9 ./texi2html -toc_file=$@ -split=chapter -nosec_nav -nomenu -init_file pintos-t2h.init $<
11 pintos.info: $(TEXIS)
12 makeinfo $<
14 pintos.text: $(TEXIS)
15 makeinfo --plaintext -o $@ $<
17 pintos.dvi: $(TEXIS)
18 texi2dvi $< -o $@
20 pintos.ps: pintos.dvi
21 dvips $< -o $@
23 pintos.pdf: $(TEXIS)
24 texi2pdf $< -o $@
26 %.texi: %
27 sed < $< > $@ 's/\([{}@]\)/\@\1/g;'
29 clean:
30 rm -f *.info *.html
31 rm -f *.dvi *.pdf *.ps *.log *~
32 rm -rf WWW
34 dist: pintos.html pintos.pdf
35 rm -rf WWW
36 mkdir WWW WWW/specs
37 cp *.html *.pdf *.css *.tmpl WWW
38 (cd ../specs && cp -r *.pdf freevga kbd sysv-abi-update.html ../doc/WWW/specs)