X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2FMakefile;h=0a01cc3ac8a26e27d0e94b895409716adb73d3dc;hb=fd2a5afa946474ba0839de0e9da238dbaecbd6a5;hp=371e366a1cd55408712c356d3b0734b89e554e2a;hpb=2f1285c5ec8b5a74378f5684130c6b9b88e48b82;p=pintos-anon diff --git a/doc/Makefile b/doc/Makefile index 371e366..0a01cc3 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,8 +1,9 @@ -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 +all: pintos.html pintos.info pintos.pdf pintos.html: $(TEXIS) texi2html ./texi2html -toc_file=$@ -split=chapter -nosec_nav -nomenu -init_file pintos-t2h.init $< @@ -10,6 +11,9 @@ pintos.html: $(TEXIS) texi2html pintos.info: $(TEXIS) makeinfo $< +pintos.text: $(TEXIS) + makeinfo --plaintext -o $@ $< + pintos.dvi: $(TEXIS) texi2dvi $< -o $@ @@ -17,12 +21,16 @@ pintos.ps: pintos.dvi dvips $< -o $@ pintos.pdf: $(TEXIS) - texi2pdf $< -o $@ + pdftex $< -o $@ + +%.texi: % + sed < $< > $@ 's/\([{}@]\)/\@\1/g;' clean: - rm -f *.info *.html + 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