#!/bin/sh
# $Id: INSTALL,v 1.1 1997/09/30 07:54:11 imil Exp imil $

clear

cp ./start.h ./start.h.orig

echo "#define HOME "\"$HOME\" > start.h
echo
echo "Enter the full path and name of the command that launch X"
echo "( e.g. /usr/X11/bin/startx )"
echo
read xbin
echo "#define STARTX "\"$xbin\" >> start.h
echo >> start.h
echo
cat ./start.h.orig >> start.h

make

cp ./startselrc ~/.startselrc
cp ./xinitrc ~/.xinitrc.tmpl

echo
echo "Please read and modify the \"~/.startselrc\" file if necessary"
echo
echo "Now, copy the executable file \"start\" in a KooL location"
echo "( e.g. /usr/local/bin ) and type \"start\""
echo

cp ./start.h.orig ./start.h
rm ./start.h.orig  

echo "This program is covered by the GNU Public License"
echo "See the COPYING file for details"
echo
