projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More to-do.
[pintos-anon]
/
doc
/
Makefile
diff --git
a/doc/Makefile
b/doc/Makefile
index b2e8a4387656dd82e094daf33249b7e7c0a97fcc..9e918bb93842d827108f101c2acbed56f07382e1 100644
(file)
--- a/
doc/Makefile
+++ b/
doc/Makefile
@@
-1,20
+1,40
@@
-TEXIS = p
rojects.texi intro.texi threads.texi mlfqs.texi userprog.texi
\
-
vm.texi filesys.texi references.texi standards.texi doc.texi devel.texi
\
-debug.texi
+TEXIS = p
intos.texi intro.texi tour.texi threads.texi mlfqs.texi
\
+
userprog.texi vm.texi filesys.texi references.texi standards.texi
\
+d
oc.texi devel.texi d
ebug.texi
-all: p
rojects.html projects.info
+all: p
intos.html pintos.info pintos.dvi pintos.ps pintos.pdf
-p
roject
s.html: $(TEXIS) mlfqs1.png mlfqs2.png
+p
into
s.html: $(TEXIS) mlfqs1.png mlfqs2.png
./texi2html -toc_file=$@ -split=chapter -nosec_nav -nomenu -init_file pintos-t2h.init -nonumber $<
./texi2html -toc_file=$@ -split=chapter -nosec_nav -nomenu -init_file pintos-t2h.init -nonumber $<
-p
roject
s.info: $(TEXIS)
+p
into
s.info: $(TEXIS)
makeinfo $<
makeinfo $<
+pintos.dvi: $(TEXIS) mlfqs1.eps mlfqs2.eps
+ texi2dvi $< -o $@
+
+pintos.ps: pintos.dvi
+ dvips $< -o $@
+
+pintos.pdf: $(TEXIS) mlfqs1.pdf mlfqs2.pdf
+ texi2pdf $< -o $@
+
%.eps: %.jgr
(jgraph $< > $@.tmp && mv $@.tmp $@) || touch $@
%.png: %.eps
convert $< $@
%.eps: %.jgr
(jgraph $< > $@.tmp && mv $@.tmp $@) || touch $@
%.png: %.eps
convert $< $@
+%.pdf: %.eps
+ epstopdf $< --outfile=$@
+
clean:
rm -f *.info *.html *.png
clean:
rm -f *.info *.html *.png
+ rm -f *.dvi *.pdf *.ps *.log
+ rm -rf WWW
+
+dist: pintos.html pintos.pdf
+ rm -rf WWW
+ mkdir WWW WWW/specs
+ cp *.html *.png *.pdf *.css WWW
+ (cd ../specs && cp -r *.pdf freevga kbd sysv-abi-update.html ../doc/WWW/specs)