> make mrproper is a superset of make clean, so nobody would want to
> do both anyway. In most cases, mrproper involves more work because
> you have to hide your .config someplace :)
Why not just do this:
#!/bin/sh
cd /usr/src
rm linux
ln -s linux-$1 linux
cd linux
make mrproper
cp ../config.`/bin/hostname` .config
make oldconfig
cp .config ../config.`/bin/hostname`
make dep
make clean
make zImage
make modules
make modules_install
cp /usr/src/linux/arch/i386/boot/zImage /linux-$1
lilo