Skip to content

Commit

Permalink
index for printout
Browse files Browse the repository at this point in the history
some cleanup
  • Loading branch information
kaashoek committed Sep 3, 2006
1 parent 2aa4c3b commit 97a5bba
Show file tree
Hide file tree
Showing 2 changed files with 854 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ PRINT = \
console.c\
string.c\

# make a print, but the resulting xv6.ind need some editing
print: $(PRINT)
//~/src/lgrind/source/lgrind -d ~/src/lgrind/lgrindef $(PRINT) > xv6.tex
lgrind $(PRINT) > xv6.tex
lgrind -d ./lgrindef $(PRINT) > xv6.tex
latex xv6.tex
makeindex xv6.idx
latex xv6.tex
dvips -o xv61.ps xv6.dvi
psnup -2 xv61.ps > xv6.ps
rm -f xv61.ps
// a2ps --line-numbers=1 -M Letter $(PRINT) -o xv6.ps
// a2ps --line-numbers=1 -M Letter $(PRINT) --toc -atoc -o xv6toc.ps

vectors.S : vectors.pl
perl vectors.pl > vectors.S
Expand Down Expand Up @@ -137,7 +137,7 @@ fs.img : mkfs userfs usertests echo cat readme init sh ls mkdir rm fstests
-include *.d

clean :
rm -f *.ps *.tex *.dvi *.idx *.aux .log \
rm -f *.ps *.tex *.dvi *.idx *.aux *.log *.ind *.ilg \
*.o *.d *.asm vectors.S parport.out \
bootblock kernel xv6.img user1 userfs usertests \
fs.img mkfs echo init fstests
Loading

0 comments on commit 97a5bba

Please sign in to comment.