2004-02-29 22:53:01 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
PLAN9=`pwd` export PLAN9
|
|
|
|
PATH=$PLAN9/bin:$PATH export PATH
|
|
|
|
|
2005-01-07 23:11:02 +00:00
|
|
|
echo "Building mk..."
|
2004-02-29 22:53:01 +00:00
|
|
|
cd src
|
|
|
|
make
|
2005-01-07 23:11:02 +00:00
|
|
|
echo "Building everything..."
|
2004-02-29 22:53:01 +00:00
|
|
|
mk clean
|
2005-01-14 18:00:26 +00:00
|
|
|
mk libs-nuke
|
|
|
|
mk all
|
2005-01-07 23:11:02 +00:00
|
|
|
echo "Installing everything..."
|
2005-01-14 17:58:09 +00:00
|
|
|
mk install | tee -a mk-install.log
|
2005-01-07 23:11:02 +00:00
|
|
|
echo "Cleaning up..."
|
2004-04-19 23:03:46 +00:00
|
|
|
mk clean
|
2005-01-14 17:58:09 +00:00
|
|
|
echo "Renaming hard-coded /usr/local/plan9 paths..."
|
2005-01-07 23:11:02 +00:00
|
|
|
cd $PLAN9
|
|
|
|
sh lib/moveplan9.sh
|
2005-01-14 17:58:09 +00:00
|
|
|
echo "Building web manual..."
|
|
|
|
cd $PLAN9/dist; mk man
|
2004-02-29 22:53:01 +00:00
|
|
|
|
2005-01-14 17:58:09 +00:00
|
|
|
|
|
|
|
echo "Done. "
|
2005-01-07 23:11:02 +00:00
|
|
|
echo " "
|
|
|
|
echo "Add these to your profile environment."
|
|
|
|
echo " PLAN9=$PLAN9 export PLAN9"
|
|
|
|
echo ' PATH=$PATH:'"$PLAN9/bin export PATH"
|
2004-02-29 22:53:01 +00:00
|
|
|
|