X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2FMakefile;h=44b20992c2b3f47d60744884084c05936e7e66f9;hb=d4067a3abb1ef4537030835952e32f22f0063529;hp=63f5247ca047795ac80e2c573fd9a8ef8e256be2;hpb=2a5eac8bf815e403a4d588d96c7cd5961757944c;p=pintos-anon diff --git a/doc/Makefile b/doc/Makefile index 63f5247..44b2099 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 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,6 +23,9 @@ pintos.ps: pintos.dvi pintos.pdf: $(TEXIS) texi2pdf $< -o $@ +%.texi: % + sed < $< > $@ 's/\([{}@]\)/\@\1/g;' + clean: rm -f *.info *.html rm -f *.dvi *.pdf *.ps *.log *~ @@ -27,5 +34,5 @@ clean: dist: pintos.html pintos.pdf rm -rf WWW mkdir WWW WWW/specs - cp *.html *.pdf *.css WWW + cp *.html *.pdf *.css *.tmpl WWW (cd ../specs && cp -r *.pdf freevga kbd sysv-abi-update.html ../doc/WWW/specs)