make maintainer-clean and distclean can not clean KDE sources properly

Michael Matz matz at kde.org
Mon Sep 15 06:53:52 BST 2003


Hi,

On Mon, 15 Sep 2003, Daniel Stone wrote:

> It's not the errors, it's the bloating of the tarball. Because KDE is
> using the dpatch, rather than the DBS, build system, anything left over
> from the 'clean' target (which runs $(MAKE) maintainer-clean, in this
> case), will go into the diff for the package. This means you have a
> massive diff, full of extraneous cruft.

The error then is already in the make process itself, which generates
stuff in directories which are unknown to make itself.  Certainly it can't
be a normal "make" call which does something in them, because, as you say,
it doesn't iterate into them.

> In general, I'm of the opinion that you should always have a way to clean
> everything you've generated.

Correct.  And it should be cleaned at the same place where it's generated.


Ciao,
Michael.





More information about the kde-core-devel mailing list