change build system
This commit is contained in:
parent
548f2f7cba
commit
80d5a8db52
3 changed files with 27 additions and 1 deletions
6
build.sh
Executable file
6
build.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
mk clean
|
||||
mk o.rio
|
||||
|
||||
mv o.rio ryudo
|
20
install.sh
Executable file
20
install.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -z "$PLAN9" ]; then
|
||||
echo "PLAN9 not set;"
|
||||
echo "Please set it to the location of your plan9port installation."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $(whoami) != "root" ]; then
|
||||
mkdir -p ~/bin/9
|
||||
cp ryudo ~/bin/9/ryudo
|
||||
echo "ryudo has been installed to '${HOME}/bin/9/';"
|
||||
echo "You may want to add it to your PATH."
|
||||
echo "The manual pages were not installed."
|
||||
else
|
||||
cp ryudo $PLAN9/bin/ryudo
|
||||
cp ryudo.1 $PLAN9/man/man1/ryudo.1
|
||||
echo "ryudo has been installed to '${PLAN9}/bin/';"
|
||||
echo "The manual pages have been installed to '${PLAN9}/man/'"
|
||||
fi
|
2
mkfile
2
mkfile
|
@ -1,5 +1,5 @@
|
|||
<$PLAN9/src/mkhdr
|
||||
<|sh /usr/lib/plan9/src/cmd/devdraw/mkwsysrules.sh # for X11
|
||||
<|sh $PLAN9/src/cmd/devdraw/mkwsysrules.sh # for X11
|
||||
|
||||
RIOFILES=\
|
||||
client.$O\
|
||||
|
|
Loading…
Reference in a new issue