This commit is contained in:
rsc 2005-01-07 23:11:02 +00:00
parent 0a76e9690e
commit 0070bb81c4
3 changed files with 14 additions and 4 deletions

13
INSTALL
View file

@ -3,12 +3,21 @@
PLAN9=`pwd` export PLAN9 PLAN9=`pwd` export PLAN9
PATH=$PLAN9/bin:$PATH export PATH PATH=$PLAN9/bin:$PATH export PATH
echo "Building mk..."
cd src cd src
make make
echo "Building everything..."
mk clean mk clean
echo "Installing everything..."
mk install mk install
echo "Cleaning up..."
mk clean mk clean
echo "Renaming hard-coded paths to /usr/local/plan9..."
cd $PLAN9
sh lib/moveplan9.sh
echo "Set PLAN9=$PLAN9 in your profile environment." echo " "
echo 'Add $PLAN9/bin to your PATH.' echo "Add these to your profile environment."
echo " PLAN9=$PLAN9 export PLAN9"
echo ' PATH=$PATH:'"$PLAN9/bin export PATH"

View file

@ -1,5 +1,6 @@
bin/" bin/"
bin/"" bin/""
bin/9
bin/Getdir bin/Getdir
bin/adict bin/adict
bin/doctype bin/doctype

View file

@ -2,9 +2,9 @@
p=`cleanname $PLAN9` p=`cleanname $PLAN9`
cd $PLAN9 cd $PLAN9
echo ' echo "
X ,s;/usr/local/plan9;$p;g X ,s;/usr/local/plan9;$p;g
X/'/w X/'/w
q q
' | sam -d `cat lib/moveplan9.files` man/man*/*.* # >/dev/null 2>&1 " | sam -d `cat lib/moveplan9.files` man/man*/*.* >/dev/null 2>&1