- moved all instructions that related to local CVS/group setup in localcvsinstruction...
[pintos.git] / doc / Makefile
blobed8bb234bfa95d51333abe10d515facc47b588b0
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 localsettings.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
33 rm -f sample.tmpl.texi
35 dist: pintos.html pintos.pdf
36 rm -rf WWW
37 mkdir WWW WWW/specs
38 cp *.html *.pdf *.css *.tmpl WWW
39 (cd ../specs && cp -r *.pdf freevga kbd sysv-abi-update.html ../doc/WWW/specs)