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

Build-Depends vs Build-Depends-Indep



According to the policy guide, the Build-Depends need not be satisfied to 
invoke 'debian/rules binary-indep', only Build-Depends-Indep needs to be 
satisfied. However, Build-Depends must be satisfied to invoke 'debian/rules 
build'. In the debian/rules that dh_make creates, binary-indep depends on 
build. The build rule is allowed to use the Build-Depends resources, whereas 
the binary-indep rules is not, and should therefor not depend on build. Is 
this a mistake, or have I misunderstood?

The relevant lines from the policy guide follow.
http://www.debian.org/doc/debian-policy/ch-relationships.html

Thanks,
Shaun

Build-Depends, Build-Conflicts
 The Build-Depends and Build-Conflicts fields must be satisfied when any of 
the following targets is invoked: build, binary, binary-arch and 
binary-indep. 

Build-Depends-Indep, Build-Conflicts-Indep
 The Build-Depends-Indep and Build-Conflicts-Indep fields must be satisfied 
when any of the following targets is invoked: binary and binary-indep.


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: