From: Michal Marek <mmarek@suse.cz>
To: Ben Hutchings <ben@decadent.org.uk>, sedat.dilek@gmail.com
Cc: maximilian attems <max@stro.at>,
LKML <linux-kernel@vger.kernel.org>,
linux-kbuild@vger.kernel.org
Subject: Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'
Date: Wed, 31 Dec 2014 14:56:07 +0100 [thread overview]
Message-ID: <54A40077.1080806@suse.cz> (raw)
In-Reply-To: <1419619556.4705.136.camel@decadent.org.uk>
On 2014-12-26 19:46, Ben Hutchings wrote:
> On Fri, 2014-12-26 at 13:43 +0100, Sedat Dilek wrote:
>> On Fri, Dec 26, 2014 at 1:02 PM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
>> [...]
>>>
>>> Any other make (PHONY) target I don't know?
>>>
>>
>> I fell over "clean-dirs"...
>>
>> scripts/package/Makefile:93:clean-dirs += $(objtree)/debian/
>>
>> ...but did not really understood how it works.
>> The main Makefile defines some clean-dirs PHONY#s.
>> I can only speculate, someone with more skillz in Makefile handling
>> should look at this.
>
> It looks like this has not worked for a long time. The scripts
> directory is not included in the main recursive processes; it seems to
> be special-cased for build and not for clean.
It is special-cased for mrproper and thus distclean:
mrproper-dirs := $(addprefix _mrproper_,Documentation/DocBook
scripts)
The problem is that
clean-dirs += $(objtree)/debian/
results in
clean-dirs += ./debian/
and scripts/Makefile.clean treats it as relative to scripts/package.
Michal
next prev parent reply other threads:[~2014-12-31 13:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-26 12:02 deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean' Sedat Dilek
2014-12-26 12:43 ` Sedat Dilek
2014-12-26 18:46 ` Ben Hutchings
2014-12-28 9:56 ` Sedat Dilek
2014-12-31 13:53 ` Michal Marek
2015-01-05 18:37 ` Sedat Dilek
2014-12-31 13:56 ` Michal Marek [this message]
2014-12-31 14:16 ` Sedat Dilek
2014-12-31 14:16 ` Sedat Dilek
2014-12-31 14:25 ` Michal Marek
2014-12-31 14:26 ` Sedat Dilek
2014-12-31 15:35 ` [PATCH 1/2] kbuild: Fix removal of the debian/ directory Michal Marek
2014-12-31 15:35 ` [PATCH 2/2] kbuild: Drop support for clean-rule Michal Marek
2014-12-31 16:05 ` Sedat Dilek
2014-12-31 15:50 ` [PATCH 1/2] kbuild: Fix removal of the debian/ directory Sedat Dilek
2015-01-02 15:01 ` Michal Marek
2015-01-02 15:06 ` Sedat Dilek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54A40077.1080806@suse.cz \
--to=mmarek@suse.cz \
--cc=ben@decadent.org.uk \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=max@stro.at \
--cc=sedat.dilek@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.