Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2015-01-05 Thread Sedat Dilek
On Wed, Dec 31, 2014 at 2:53 PM, Michal Marek wrote: > 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 wrote: >>> [...] Any other make (PHONY) target I don't know? >>> >>> I fell ove

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2015-01-05 Thread Michal Marek
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 wrote: >> [...] >>> >>> Any other make (PHONY) target I don't know? >>> >> >> I fell over "clean-dirs"... >> >> scripts/package/Makefile:93:clean-dirs +

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-31 Thread Sedat Dilek
On Wed, Dec 31, 2014 at 3:25 PM, Michal Marek wrote: > On 2014-12-31 15:16, Sedat Dilek wrote: >> On Wed, Dec 31, 2014 at 2:56 PM, Michal Marek wrote: >>> The problem is that >>> >>> clean-dirs += $(objtree)/debian/ >>> >>> results in >>> >>> clean-dirs += ./debian/ >>> >>> and scripts/Makefi

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-31 Thread Michal Marek
On 2014-12-31 15:16, Sedat Dilek wrote: > On Wed, Dec 31, 2014 at 2:56 PM, Michal Marek 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

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-31 Thread Sedat Dilek
On Wed, Dec 31, 2014 at 2:56 PM, Michal Marek wrote: > 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 wrote: >>> [...] Any other make (PHONY) target I don't know? >>> >>> I fell ove

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-31 Thread Michal Marek
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 wrote: >> [...] >>> >>> Any other make (PHONY) target I don't know? >>> >> >> I fell over "clean-dirs"... >> >> scripts/package/Makefile:93:clean-dirs +

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-28 Thread Sedat Dilek
On Fri, Dec 26, 2014 at 7:46 PM, 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 wrote: >> [...] >> > >> > Any other make (PHONY) target I don't know? >> > >> >> I fell over "clean-dirs"... >> >> scripts/package/Makefile

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-27 Thread Ben Hutchings
On Fri, 2014-12-26 at 13:43 +0100, Sedat Dilek wrote: > On Fri, Dec 26, 2014 at 1:02 PM, Sedat Dilek 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

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-26 Thread Sedat Dilek
On Fri, Dec 26, 2014 at 1:02 PM, Sedat Dilek 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.

deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-26 Thread Sedat Dilek
Hi, I creating Debian/Ubuntu packages using builddeb script ('make deb-pkg'). While I was doing a 'make distclean' and grep-ed for some patterns I saw that my debian/*tmp dirs were not deleted. $ ls debian/*tmp debian/fwtmp: DEBIAN lib usr debian/hdrtmp: DEBIAN lib usr debian/headertmp: DE