Re: Why not make mrproper? (was Linux v2.1.16)

Bernhard Rosenkraenzer (linux@startrek.in-trier.de)
Wed, 18 Dec 1996 22:40:32 +0100 (MET)


On Wed, 18 Dec 1996, Kai Schulte wrote:

> 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