better job at cleaning

This commit is contained in:
rsc 2005-01-14 18:00:26 +00:00
parent 5319e9b8fb
commit 722c34e310
6 changed files with 13 additions and 11 deletions

View file

@ -8,6 +8,8 @@ cd src
make
echo "Building everything..."
mk clean
mk libs-nuke
mk all
echo "Installing everything..."
mk install | tee -a mk-install.log
echo "Cleaning up..."

View file

@ -1,8 +1,6 @@
#!/usr/local/plan9/bin/rc
. 9.rc
whatis path
whatis troff
. $PLAN9/man/fonts
#

10
dist/mkfile vendored
View file

@ -9,8 +9,8 @@ man:V:
rc ./manweb
push:V:
rsync -e ssh -avz --delete $PLAN9/man/ swtch:www/swtch.com/plan9port/man
rsync -e ssh unix.html swtch:www/swtch.com/plan9port/unix/index.html
rsync -e ssh main.html swtch:www/swtch.com/plan9port/nindex.html
@{cd ../unix/man && mk push}
@{cd ../unix && mk push}
rsync -e ssh -t --delete $PLAN9/man/ swtch:www/swtch.com/plan9port/man
rsync -e ssh -t unix.html swtch:www/swtch.com/plan9port/unix/index.html
rsync -e ssh -t main.html swtch:www/swtch.com/plan9port/nindex.html
# @{cd ../unix/man && mk push}
# @{cd ../unix && mk push}

3
dist/unix.html vendored
View file

@ -52,7 +52,8 @@ Edit ./^$/,s/<Table/<table border=0 cellspacing=0 cellpadding=0 width=100%/g
On unsupported systems, you will need to create
<font size=+1><tt>Make.<i>YourOS</i>-<i>YourArch</i></tt></font>.
See the existing ones for examples.
See the existing ones for examples. If you write one for a new system,
please send it to us for inclusion in the tar files.
</table>

View file

@ -45,4 +45,4 @@ MKSHELL=$PLAN9/bin/rc
./fixurls $target
push:V:
rsync -e ssh *.html swtch:www/swtch.com/plan9port/unix/man
rsync -e ssh -t *.html swtch:www/swtch.com/plan9port/unix/man

View file

@ -65,5 +65,6 @@ mk-with-libs.tgz:V:
tgz:V: libutf.tgz libfmt.tgz libregexp9.tgz libbio.tgz mk.tgz mk-with-libs.tgz
push:
rsync -e ssh *.tgz swtch:www/swtch.com/plan9port/unix
rsync -e ssh -t *.tgz swtch:www/swtch.com/plan9port/unix
ssh swtch rm www/swtch.com/plan9port/unix/*.sha1 \
www/swtch.com/plan9port/unix/*.md5