make maintainer-clean (was: Re: The (Interactive) Glasgow Haskell Compiler -- version 5.00)

Simon Marlow simonmar@microsoft.com
Wed, 25 Apr 2001 11:04:06 +0100


> erm, not that I say, sticking to the standards is mandatory, but... ;)
>=20
> $ info standards 'Managing Releases' 'Makefile Conventions'=20
> 'Standard Targets'
>      [...]
>      The reason we say "almost everything" is that running the command
>      `make maintainer-clean' should not delete `configure' even if
>      `configure' can be remade using a rule in the Makefile.  More
>      generally, `make maintainer-clean' should not delete=20
> anything that
>      needs to exist in order to run `configure' and then=20
> begin to build
>      the program.  This is the only exception;=20
> `maintainer-clean' should
>      delete everything else that can be rebuilt.
>      [...]
>=20
>=20
> There should be an additional target, e.g. "make cvs-clean", or
> similar.

Oh blimey.  Ok, I'll make it not delete configure.

Cheers,
	Simon