X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2FMakefile;h=f053ce9879e109fae54e6f093bc2e37e620f0a9c;hb=70125b0764332aaada1144956ec1c62d51726d21;hp=138cf35bccfb8e4f4e66c83bc9a0d555160b2ef0;hpb=28034190e6ffa80204e6ab29b2968d8c5ba178b9;p=pintos-anon diff --git a/doc/Makefile b/doc/Makefile index 138cf35..f053ce9 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,7 +1,19 @@ -TEXIS = projects.texi threads.texi userprog.texi filesys.texi vm.texi +TEXIS = projects.texi threads.texi mlfqs.texi userprog.texi \ +filesys.texi vm.texi + +all: projects.html projects.info + +projects.html: $(TEXIS) mlfqs1.png mlfqs2.png + texi2html -toc_file=$@ -split=chapter -no-sec_nav -no-menu $< projects.info: $(TEXIS) makeinfo $< -projects.html: $(TEXIS) - texi2html -toc_file=$@ -split=chapter -no-sec_nav -no-menu $< +%.eps: %.jgr + jgraph $< > $@.tmp && mv $@.tmp $@ + +%.png: %.eps + convert $< $@ + +clean: + rm -f *.info *.html *.eps *.png