public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: sedat.dilek@gmail.com
Cc: Ben Hutchings <ben@decadent.org.uk>,
	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 15:25:07 +0100	[thread overview]
Message-ID: <54A40743.8080401@suse.cz> (raw)
In-Reply-To: <CA+icZUWzEpgoQO8MEVF2PWOy-bQ9oYMdipBe3T+s2Os4tzKVZw@mail.gmail.com>

On 2014-12-31 15:16, Sedat Dilek wrote:
> On Wed, Dec 31, 2014 at 2:56 PM, Michal Marek <mmarek@suse.cz> wrote:
>> The problem is that
>>
>>   clean-dirs += $(objtree)/debian/
>>
>> results in
>>
>>   clean-dirs += ./debian/
>>
>> and scripts/Makefile.clean treats it as relative to scripts/package.
>>
> 
> Thanks for your reply.
> 
> IIRC I looked through some commits touching this area.
> From your description, is the simplification ("kbuild: simplify build,
> clean, modbuiltin shorthands") in [1] the cause for this?

No, it broke with 7e1c0477 (kbuild: Use relative path for $(objtree)).

I'll problably change the logic in Makefile.clean to check for paths
starting with './' AKA '$(objtree)/', unless I find a more elegant solution.

Michal

  reply	other threads:[~2014-12-31 14:25 UTC|newest]

Thread overview: 16+ 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
2014-12-31 14:16       ` Sedat Dilek
2014-12-31 14:25         ` Michal Marek [this message]
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=54A40743.8080401@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox