#!/bin/bash
cd /usr/src

rm -f linux &&
ln -s linux-[0-9]*/ linux &&
cd linux &&

#use my own install script:
#patch -p 1 <../linux-2.6.12.3_install-2.patch
patch -p 1 <../linux-2.6.13_install-1.patch



rm -f include/asm &&
#The kernel team recommends that this command be issued prior to each
#kernel compilation:
#make mrproper &&
cp ../.config-* ./.config
make oldconfig &&
#make menuconfig
make modules V=1 &&
make modules_install &&
make bzImage V=1 &&
make install
#make mandocs &&
#make installmandocs

#2do: what about docbook2man errors???
