From: Ben Hutchings <ben@decadent.org.uk>
To: sedat.dilek@gmail.com
Cc: Michal Marek <mmarek@suse.cz>, 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: Fri, 26 Dec 2014 19:46:02 +0100 [thread overview]
Message-ID: <1419619556.4705.136.camel@decadent.org.uk> (raw)
In-Reply-To: <CA+icZUVfiQ1+k2zD9HXMM40N8rwg6rEmYLdKfHGsGt3xvJu+4w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]
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. This is partly deliberate
because clean is supposed to leave 'enough to build external modules'.
It's not obvious to include scripts/packages/ in clean.
Ben.
--
Ben Hutchings
Experience is directly proportional to the value of equipment destroyed.
- Carolyn Scheppner
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
next prev parent reply other threads:[~2014-12-27 18:52 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 [this message]
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
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=1419619556.4705.136.camel@decadent.org.uk \
--to=ben@decadent.org.uk \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=max@stro.at \
--cc=mmarek@suse.cz \
--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;
as well as URLs for NNTP newsgroup(s).