Update docs.
[pintos-anon] / doc / Makefile
index 138cf35bccfb8e4f4e66c83bc9a0d555160b2ef0..69ea11082c57ffca5d3abd7aeadc151f861f7d2a 100644 (file)
@@ -1,7 +1,19 @@
-TEXIS = projects.texi threads.texi userprog.texi filesys.texi vm.texi
+TEXIS = projects.texi intro.texi threads.texi mlfqs.texi userprog.texi \
+filesys.texi vm.texi standards.texi doc.texi devel.texi debug.texi
+
+all: projects.html projects.info
+
+projects.html: $(TEXIS) mlfqs1.png mlfqs2.png
+       texi2html -toc_file=$@ -split=chapter -no-sec_nav -no-menu -init_file pintos-t2h.init $<
 
 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