On Mon, Mar 22, 2010 at 06:34:37PM +0100, Bernhard R. Link wrote:
> * Osamu Aoki <os...@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


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100322204657.ga4...@glandium.org

Reply via email to