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

Re: Debhelper doesn't know the ‘build-stamp’ target, but Lintian recommends it



Kilian Krause <kilian@debian.org> writes:

> Hi Ben,
>
> On Tue, 2011-07-26 at 17:10 +1000, Ben Finney wrote:
> > Lintian recommends (via tag ‘debian-rules-missing-recommended-target’):
> > 
> > =====
> > N:   Note that the following form is recommended however:
> > N:   
> > N:     build: build-arch build-indep
> > N:     build-arch: build-stamp
> > N:     build-indep: build-stamp
> > N:     build-stamp:
> > N:   build here
> > =====
>
> If you're sure that you want to use dh but .PHONY then just put into
> your rules something like:
>
> build-indep:
> 	dh $@
> build-arch:
> 	dh $@
> build: build-arch build-indep
>
> No need for a stamp as dh is already producing stamps internally.

This doesn't match Lintian's recommendation. Nor does the common ‘%:’
style rule.

Should Lintian's recommendation be changed?

-- 
 \         “Pinky, are you pondering what I'm pondering?” “I think so, |
  `\        Brain, but why would anyone want to see Snow White and the |
_o__)                           Seven Samurai?” —_Pinky and The Brain_ |
Ben Finney

Attachment: pgpfiGTItumK0.pgp
Description: PGP signature


Reply to: