summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrsc <rsc>2006-09-05 15:50:55 +0000
committerrsc <rsc>2006-09-05 15:50:55 +0000
commitfae7779da70cf76468f8ec0ca8a888bde2bc64fc (patch)
treef64e67396286f013cc1b159da1f8583e609311fa /Makefile
parenta81e02133a2e8cb20ba62113a67bc9bee746c8bf (diff)
downloadxv6-labs-fae7779da70cf76468f8ec0ca8a888bde2bc64fc.tar.gz
xv6-labs-fae7779da70cf76468f8ec0ca8a888bde2bc64fc.tar.bz2
xv6-labs-fae7779da70cf76468f8ec0ca8a888bde2bc64fc.zip
New formatting scripts.
The use/defs extraction in runoff still needs some work for xv6 code style.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 24583bd..c1099d4 100644
--- a/Makefile
+++ b/Makefile
@@ -58,6 +58,7 @@ tags: $(OBJS) bootother.S init
etags *.S *.c
PRINT = \
+ runoff.list \
README\
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\
@@ -69,15 +70,11 @@ PRINT = \
console.c\
string.c\
-# make a print, but the resulting xv6.ind need some editing
-print: $(PRINT)
- 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
+# make a printout
+xv6.pdf : $(PRINT)
+ ./runoff
+
+print : xv6.pdf
vectors.S : vectors.pl
perl vectors.pl > vectors.S