projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ACPI shutdown sequence
[pintos-anon]
/
doc
/
Makefile
diff --git
a/doc/Makefile
b/doc/Makefile
index f053ce9879e109fae54e6f093bc2e37e620f0a9c..ed8bb234bfa95d51333abe10d515facc47b588b0 100644
(file)
--- a/
doc/Makefile
+++ b/
doc/Makefile
@@
-1,19
+1,39
@@
-TEXIS = projects.texi threads.texi mlfqs.texi userprog.texi \
-filesys.texi vm.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: p
rojects.html projects.info
+all: p
intos.html pintos.info pintos.dvi pintos.ps pintos.pdf
-p
rojects.html: $(TEXIS) mlfqs1.png mlfqs2.png
-
texi2html -toc_file=$@ -split=chapter -no-sec_nav -no-menu
$<
+p
intos.html: $(TEXIS) texi2html
+
./texi2html -toc_file=$@ -split=chapter -nosec_nav -nomenu -init_file pintos-t2h.init
$<
-p
roject
s.info: $(TEXIS)
+p
into
s.info: $(TEXIS)
makeinfo $<
makeinfo $<
-%.eps: %.jgr
- jgraph $< > $@.tmp && mv $@.tmp $@
+pintos.text: $(TEXIS)
+ makeinfo --plaintext -o $@ $<
-%.png: %.eps
- convert $< $@
+pintos.dvi: $(TEXIS)
+ texi2dvi $< -o $@
+
+pintos.ps: pintos.dvi
+ dvips $< -o $@
+
+pintos.pdf: $(TEXIS)
+ texi2pdf $< -o $@
+
+%.texi: %
+ sed < $< > $@ 's/\([{}@]\)/\@\1/g;'
clean:
clean:
- rm -f *.info *.html *.eps *.png
+ 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
+ mkdir WWW WWW/specs
+ cp *.html *.pdf *.css *.tmpl WWW
+ (cd ../specs && cp -r *.pdf freevga kbd sysv-abi-update.html ../doc/WWW/specs)