[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Source format 3.0 (quilt) and new debhelper dh syntax (maint-guide)



On Mon, Mar 22, 2010 at 06:34:37PM +0100, Bernhard R. Link wrote:
> * Osamu Aoki <osamu@debian.org> [100322 17:27]:
> > I am talking about new style debian/rules:
> > ---------------
> > %:
> >         dh --with patch $@
> > ---------------
> 
> That is missing some
> .PHONY: binary binary-arch binary-indep clean build build-arch build-indep
> line (I hope dh supports build-arch and build-indep, not yet looked).
> 
> Without that make does not know those are phony, and will not run if any
> of those files already exist.

... which is pretty rare. And if they exist, % and .PHONY don't work too
well together, so you need to replace % with explicit rules.

Mike


Reply to: