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

Chris Cheney ccheney at cheney.cx
Mon Sep 15 19:20:07 BST 2003


On Mon, Sep 15, 2003 at 07:53:52AM +0200, Michael Matz wrote:
> 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.

configure generates the Makefile's and .deps dirs and writes rules to
clean them into the Makefile's. However, since the dirs are not mentioned
in the SUBDIRS variable make itself does not recurse into those directories
when clean is run.

Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030915/759723c1/attachment.sig>


More information about the kde-core-devel mailing list