X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2FMakefile;h=3d1869f73693898924d4286691cf71a636b805e3;hb=9dfa04de62dfeb8655cf55371e68df1ca8804366;hp=9e918bb93842d827108f101c2acbed56f07382e1;hpb=c5f89926217d960e8abb1d6721b63ceb863f2c60;p=pintos-anon diff --git a/doc/Makefile b/doc/Makefile index 9e918bb..3d1869f 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -38,3 +38,10 @@ dist: pintos.html pintos.pdf mkdir WWW WWW/specs cp *.html *.png *.pdf *.css WWW (cd ../specs && cp -r *.pdf freevga kbd sysv-abi-update.html ../doc/WWW/specs) + +install: dist + rm -rf /usr/class/cs140/WWW/projects/pintos.old + rm -rf /usr/class/cs140/WWW/projects/pintos.new + mv WWW /usr/class/cs140/WWW/projects/pintos.new + cd /usr/class/cs140/WWW/projects && mv pintos pintos.old && \ + mv pintos.new pintos