Hi Giuseppe,

On Thu, 6 May 2010, Giuseppe Iuculano wrote:

debuild binary calls "debian/rules binary". This is not the correct way
to build a package, it should be:

- debian/rules clean
- debian/rules build
- debian/rules binary

Policy disagrees. From IRC #debian-devel on oftc...

17:02 < faheem> hi. someone said (in
                http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580535)
                that 'debuild binary' was not the right way to build a debian 
package
17:03 < faheem> see the end of the bug report
17:03 < faheem> where is a good place to get a technical ruling on this?
17:07 < pochu> faheem: 
http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules
17:07 < pochu> "The binary target must be all that is necessary for the
               user to build the binary package(s) produced from this source 
package."
17:07 < faheem> pochu: thanks
17:07 < faheem> appreciate the link
17:07 < pochu> faheem: also, "Both binary-* targets should depend on the
               build target, or on the appropriate build-arch or
               build-indep target, if provided, so that the package is
               built if it has not been already."
17:08 < faheem> pochu: then you agree 'debuild binary' should work?
17:08 < pochu> faheem: debian/rules binary should work, so yes
17:09 < pochu> faheem: you don't need to manually run debian/rules build
               before debian/rules binary, the binary target
               should depend on the build  one instead
17:09 < pochu> so the bug is valid
                                                         Regards, Faheem.



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to