X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2FMakefile;h=ed8bb234bfa95d51333abe10d515facc47b588b0;hb=3edcfedb8e62970f3293fa676b6691f8658c3c11;hp=8a4d80e8a26e08b1fac2180c5b53cbcdfc7f80dc;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;p=pintos-anon diff --git a/doc/Makefile b/doc/Makefile index 8a4d80e..ed8bb23 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,6 +1,7 @@ -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 +TEXIS = pintos.texi intro.texi threads.texi userprog.texi vm.texi \ +filesys.texi license.texi reference.texi 44bsd.texi standards.texi \ +doc.texi sample.tmpl.texi devel.texi debug.texi installation.texi \ +bibliography.texi localsettings.texi all: pintos.html pintos.info pintos.dvi pintos.ps pintos.pdf @@ -10,6 +11,9 @@ pintos.html: $(TEXIS) texi2html pintos.info: $(TEXIS) makeinfo $< +pintos.text: $(TEXIS) + makeinfo --plaintext -o $@ $< + pintos.dvi: $(TEXIS) texi2dvi $< -o $@ @@ -19,22 +23,17 @@ pintos.ps: pintos.dvi pintos.pdf: $(TEXIS) texi2pdf $< -o $@ -%.eps: %.jgr - (jgraph $< > $@.tmp && mv $@.tmp $@) || touch $@ - -%.png: %.eps - convert $< $@ - -%.pdf: %.eps - epstopdf $< --outfile=$@ +%.texi: % + sed < $< > $@ 's/\([{}@]\)/\@\1/g;' clean: - rm -f *.info *.html *.png + rm -f *.info* *.html rm -f *.dvi *.pdf *.ps *.log *~ rm -rf WWW + rm -f sample.tmpl.texi dist: pintos.html pintos.pdf rm -rf WWW mkdir WWW WWW/specs - cp *.html *.png *.pdf *.css WWW + cp *.html *.pdf *.css *.tmpl WWW (cd ../specs && cp -r *.pdf freevga kbd sysv-abi-update.html ../doc/WWW/specs)