Re: flow of things rules/debhelper
Hi Mike,
On Mon, Apr 05, 2010 at 03:30:50PM +0200, Mike Hommey wrote:
> > 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.
... That was what I think too.
It was updated by raphael to current form:
$ svn diff --old maint-guide.en.sgml@r7185 --new maint-guide.en.sgml@r7186
Index: maint-guide.en.sgml
===================================================================
--- maint-guide.en.sgml (revision 7185)
+++ maint-guide.en.sgml (revision 7186)
...
- <item>"<tt>fakeroot debian/rules binary-arch</tt>" runs "<tt>fakeroot dh binary-arch</tt>"
- which in turn runs the following.
+ <item>"<tt>fakeroot debian/rules binary</tt>" runs "<tt>fakeroot dh binary</tt>"
+ which in turn runs "<tt>fakeroot dh binary-arch</tt>" and "<tt>fakeroot dh
+ binary-indep</tt>". The commands listed below are run twice, once with
+ the "-a" option (in binary-arch) and once with the "-i" option (in
+ binary-indep):
<example>
dh_testroot
dh_prep
@@ -1485,11 +1489,6 @@
dh_md5sums
dh_builddeb
</example>
- <item>"<tt>fakeroot debian/rules binary</tt>" runs "<tt>fakeroot dh binary</tt>" which in turn
- runs the same as "<tt>fakeroot dh binary-arch</tt>".
- <item>"<tt>fakeroot debian/rules binary-indep</tt>" runs "<tt>fakeroot dh binary-indep</tt>"
- which in turn runs the the same as "<tt>fakeroot dh binary-arch</tt>" except each
- <prgn>dh_*</prgn> command is run with <tt>-i</tt> option appended.
</list>
His thought was to present a simpler story to the novice, I guess.
Should i revert this?
Osamu
Reply to: