Update docs.
[pintos-anon] / doc / Makefile
index 138cf35bccfb8e4f4e66c83bc9a0d555160b2ef0..b2e8a4387656dd82e094daf33249b7e7c0a97fcc 100644 (file)
@@ -1,7 +1,20 @@
-TEXIS = projects.texi threads.texi userprog.texi filesys.texi vm.texi
+TEXIS = projects.texi intro.texi threads.texi mlfqs.texi userprog.texi \
+vm.texi filesys.texi references.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 -nosec_nav -nomenu -init_file pintos-t2h.init -nonumber $<
 
 projects.info: $(TEXIS)
        makeinfo $<
 
-projects.html: $(TEXIS)
-       texi2html -toc_file=$@ -split=chapter -no-sec_nav -no-menu $<
+%.eps: %.jgr
+       (jgraph $< > $@.tmp && mv $@.tmp $@) || touch $@
+
+%.png: %.eps
+       convert $< $@
+
+clean:
+       rm -f *.info *.html *.png