On Mon, Apr 05, 2010 at 09:48:13PM +0900, Osamu Aoki wrote: > Hi, > > On Mon, Apr 05, 2010 at 02:37:41AM +0200, [email protected] wrote: > > Hello there, > > > > today, I have a question regarding the maintainers guide, which says: > > You must be reading one from squeeze or subversion one which is enen > newer. > > > "fakeroot debian/rules binary" runs "fakeroot dh binary" which in turn > > runs "fakeroot dh binary-arch" and "fakeroot dh binary-indep"... > > > > It does indeed work that way, but hadn't it better be: > > > > "debian/rules binary" -> "dh binary" -> "debian/rules binary-arch" -> > > "dh binary-arch" ... > > I do not get your point. > Are you suggesting dropping fakeroot? > (Why? Without fakeroot, command can not be run.) > Are you suggesting to call "debian/rules binary-arch" > (This is too pedantic and I am not sure it actually do this.) > > Situation is: > > debian/rules binary > | > +---> "dh binary" > | > +-------+--> dh binary-arch > | > +--> dh binary-indep > > If there is a good way to express following in English: > > "fakeroot debian/rules binary" runs "fakeroot dh binary" which in turn > runs ( "fakeroot dh binary-arch" and "fakeroot dh binary-indep" ) > > By reading folowing text should have made it clear: > > The commands listed below are run twice, once with the "-a" option (in > binary-arch) and once with the "-i" option (in binary-indep):
Actually, it doesn't. dh binary just runs whatever sequence is necessary for the binary target, starting from where it ended last, running without even -i or -a. dh binary-arch will do the same, but with the -a argument. dh binary-indep will do the same, but with the -i argument. Example: - if you first ran dh build, then dh binary will run dh_auto_install, dh_install, (...), dh_installcatalogs, (...), dh_strip, (...), dh_installdeb, (...) - if you ran nothing, then dh binary will run dh_auto_configure, dh_auto_build, dh_auto_test, dh_auto_install, etc. - if you ran dh install, then dh binary-arch will run dh_strip -a, (...), dh_installdeb -a, (...) Mike -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

