Messages in this thread | | | Date | Wed, 31 Dec 2014 15:25:07 +0100 | From | Michal Marek <> | Subject | Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean' |
| |
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
| |