mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
31 lines
555 B
Text
Executable file
31 lines
555 B
Text
Executable file
#!/bin/sh
|
|
|
|
PLAN9=`pwd` export PLAN9
|
|
PATH=$PLAN9/bin:$PATH export PATH
|
|
|
|
(
|
|
echo "Building mk..."
|
|
cd src
|
|
make
|
|
echo "Building everything..."
|
|
mk clean
|
|
mk libs-nuke
|
|
mk all
|
|
echo "Installing everything..."
|
|
mk install
|
|
echo "Cleaning up..."
|
|
mk clean
|
|
echo "Renaming hard-coded /usr/local/plan9 paths..."
|
|
cd $PLAN9
|
|
sh lib/moveplan9.sh
|
|
echo "Building web manual..."
|
|
cd $PLAN9/dist; mk man
|
|
|
|
|
|
echo "Done. "
|
|
echo " "
|
|
echo "Add these to your profile environment."
|
|
echo " PLAN9=$PLAN9 export PLAN9"
|
|
echo ' PATH=$PATH:'"$PLAN9/bin export PATH"
|
|
|
|
) 2>&1 | tee mk-install.log
|