Skip to content

Commit

Permalink
runoff tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rsc committed Sep 6, 2006
1 parent e9d2250 commit 2a55cc5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ PRINT = \
types.h param.h defs.h x86.h asm.h elf.h mmu.h spinlock.h\
bootasm.S bootother.S main.c init.c spinlock.c\
proc.h proc.c setjmp.S kalloc.c\
syscall.h trapasm.S traps.h trap.c vectors.pl syscall.c\
buf.h dev.h fcntl.h stat.h file.h fs.h fsvar.h fd.c fs.c bio.c ide.c\
syscall.h trapasm.S traps.h trap.c vectors.pl syscall.c sysproc.c\
buf.h dev.h fcntl.h stat.h file.h fs.h fsvar.h fd.c fs.c bio.c ide.c sysfile.c\
pipe.c\
mp.h ioapic.h mp.c lapic.c ioapic.c picirq.c\
console.c\
Expand Down
5 changes: 3 additions & 2 deletions runoff
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ awk '
print $1, $3;
}
' $files >defs
9 sed -n 's/^([0-9]+ [a-zA-Z0-9_]+)(.*)$/\1/p' $files |

perl -n -e 'print if s/^([0-9]+ [a-zA-Z0-9_]+)\(.*$/\1/;' $files |
egrep -v ' (usage|main|if|for)$' >>defs
(
>s.defs
Expand Down Expand Up @@ -118,7 +119,7 @@ awk '
grep Pages: all.ps

# if we have the nice font, use it
nicefont=/home/am8/rsc/plan9/sys/lib/postscript/font/LucidaSans-Typewriter83
nicefont=~rsc/plan9/sys/lib/postscript/font/LucidaSans-Typewriter83
if [ -f $nicefont ]
then
(sed 1q all.ps; cat $nicefont; sed '1d; s/Courier/LucidaSans-Typewriter83/' all.ps) >allf.ps
Expand Down
10 changes: 6 additions & 4 deletions runoff.list
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,21 @@ traps.h
trap.c
vectors.pl
syscall.c
sysproc.c

# file system
buf.h
dev.h
fcntl.h
stat.h
fd.h
file.h
fs.h
fsvar.h
fd.c
fs.c
bio.c
ide.c
bio.c
fs.c
file.c
sysfile.c

# pipes
pipe.c
Expand Down
1 change: 0 additions & 1 deletion setjmp.S
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ longjmp:

movl $1, %eax /* return value (appears to come from setjmp!) */
ret

0 comments on commit 2a55cc5

Please sign in to comment.