diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 081a43c..0000000 --- a/.cvsignore +++ /dev/null @@ -1,16 +0,0 @@ -*.asm -*.d -*.sym -_* -kernel -user1 -userfs -usertests -xv6.img -vectors.S -bochsout.txt -bootblock -bootother -bootother.out -parport.out -fmt diff --git a/Makefile b/Makefile index a85add2..328f9c6 100644 --- a/Makefile +++ b/Makefile @@ -170,46 +170,3 @@ qemu-gdb: $K/kernel .gdbinit fs.img @echo "*** Now run 'gdb' in another window." 1>&2 $(QEMU) $(QEMUOPTS) -S $(QEMUGDB) -# CUT HERE -# prepare dist for students -# after running make dist, probably want to -# rename it to rev0 or rev1 or so on and then -# check in that version. - -EXTRA=\ - mkfs.c ulib.c user.h cat.c echo.c forktest.c grep.c kill.c\ - ln.c ls.c mkdir.c rm.c stressfs.c usertests.c wc.c zombie.c\ - printf.c umalloc.c\ - README dot-bochsrc *.pl \ - .gdbinit.tmpl gdbutil\ - -dist: - rm -rf dist - mkdir dist - for i in $(FILES); \ - do \ - grep -v PAGEBREAK $$i >dist/$$i; \ - done - sed '/CUT HERE/,$$d' Makefile >dist/Makefile - echo >dist/runoff.spec - cp $(EXTRA) dist - -dist-test: - rm -rf dist - make dist - rm -rf dist-test - mkdir dist-test - cp dist/* dist-test - cd dist-test; $(MAKE) print - cd dist-test; $(MAKE) bochs || true - cd dist-test; $(MAKE) qemu - -# update this rule (change rev#) when it is time to -# make a new revision. -tar: - rm -rf /tmp/xv6 - mkdir -p /tmp/xv6 - cp dist/* dist/.gdbinit.tmpl /tmp/xv6 - (cd /tmp; tar cf - xv6) | gzip >xv6-rev10.tar.gz # the next one will be 10 (9/17) - -.PHONY: dist-test dist