X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2FMakefile;h=8a4d80e8a26e08b1fac2180c5b53cbcdfc7f80dc;hb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;hp=f6a7b7d91e39502e6cfc514171f4b3d32916519b;hpb=40140f51bb6c6bf0191145497a5db115083fe3af;p=pintos-anon diff --git a/doc/Makefile b/doc/Makefile index f6a7b7d..8a4d80e 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,19 +1,40 @@ -TEXIS = projects.texi intro.texi threads.texi mlfqs.texi userprog.texi \ -filesys.texi vm.texi +TEXIS = pintos.texi intro.texi tour.texi threads.texi userprog.texi \ +vm.texi filesys.texi references.texi standards.texi doc.texi \ +sample.tmpl devel.texi debug.texi 44bsd.texi -all: projects.html projects.info +all: pintos.html pintos.info pintos.dvi pintos.ps pintos.pdf -projects.html: $(TEXIS) mlfqs1.png mlfqs2.png - texi2html -toc_file=$@ -split=chapter -no-sec_nav -no-menu $< +pintos.html: $(TEXIS) texi2html + ./texi2html -toc_file=$@ -split=chapter -nosec_nav -nomenu -init_file pintos-t2h.init $< -projects.info: $(TEXIS) +pintos.info: $(TEXIS) makeinfo $< +pintos.dvi: $(TEXIS) + texi2dvi $< -o $@ + +pintos.ps: pintos.dvi + dvips $< -o $@ + +pintos.pdf: $(TEXIS) + texi2pdf $< -o $@ + %.eps: %.jgr - jgraph $< > $@.tmp && mv $@.tmp $@ + (jgraph $< > $@.tmp && mv $@.tmp $@) || touch $@ %.png: %.eps convert $< $@ +%.pdf: %.eps + epstopdf $< --outfile=$@ + clean: - rm -f *.info *.html *.eps *.png + rm -f *.info *.html *.png + rm -f *.dvi *.pdf *.ps *.log *~ + rm -rf WWW + +dist: pintos.html pintos.pdf + rm -rf WWW + mkdir WWW WWW/specs + cp *.html *.png *.pdf *.css WWW + (cd ../specs && cp -r *.pdf freevga kbd sysv-abi-update.html ../doc/WWW/specs)