From fae7779da70cf76468f8ec0ca8a888bde2bc64fc Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 5 Sep 2006 15:50:55 +0000 Subject: New formatting scripts. The use/defs extraction in runoff still needs some work for xv6 code style. --- Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3