Re: flow of things rules/debhelper (still confused)

2010-04-09 Thread Osamu Aoki
Hi, On Thu, Apr 08, 2010 at 04:45:44PM +0200, Tanguy Ortolo wrote: Le jeudi 08 avril 2010, Osamu Aoki a écrit : I do not know active use of binary-indep by itself. Anyone knows? (I know some makefile has binary: binary-indep binary-arch.) I do not know what you mean by “active use”, I

Re: flow of things rules/debhelper (still confused)

2010-04-08 Thread Osamu Aoki
Hi, On Wed, Apr 07, 2010 at 04:19:33PM +0200, jmroth+...@iip.lu wrote: Guys, I am still confused about my initial question when which binary-* target in debian/rules is called. This also concerns: - http://www.debian.org/doc/maint-guide/ch-dreq.en.html#s-rules -

Re: flow of things rules/debhelper (still confused)

2010-04-08 Thread Osamu Aoki
On Wed, Apr 07, 2010 at 06:48:26PM +0200, Jan Hauke Rahm wrote: Well, this is just wrong. As you can find in Debian Policy, the binary target has to depend on binary-arch and -indep which is not provided here. There isn't much to document. It's standard Makefile behavior. Excuse me. I can not

Re: flow of things rules/debhelper (still confused)

2010-04-08 Thread Osamu Aoki
On Wed, Apr 07, 2010 at 11:23:02AM -0700, Russ Allbery wrote: ... In general, I find mixing explicit target definitions and wildcard rules really confusing. Yes, indeed. I will steal this phrase into maint-guide as footnote :-) -- To UNSUBSCRIBE, email to

Re: flow of things rules/debhelper (still confused)

2010-04-08 Thread Tanguy Ortolo
Le jeudi 08 avril 2010, Osamu Aoki a écrit : I do not know active use of binary-indep by itself. Anyone knows? (I know some makefile has binary: binary-indep binary-arch.) I do not know what you mean by “active use”, but I do have a package which debian/rules contains a featured binary-indep:

Re: flow of things rules/debhelper (still confused)

2010-04-07 Thread jmroth+deb
Guys, I am still confused about my initial question when which binary-* target in debian/rules is called. This also concerns: - http://www.debian.org/doc/maint-guide/ch-dreq.en.html#s-rules - http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules which seem to be out of sync. The

Re: flow of things rules/debhelper (still confused)

2010-04-07 Thread Jan Hauke Rahm
On Wed, Apr 07, 2010 at 04:19:33PM +0200, jmroth+...@iip.lu wrote: Guys, I am still confused about my initial question when which binary-* target in debian/rules is called. Very simple: binary-arch to build all arch-dependent packages from that source and binary-indep to build all

Re: flow of things rules/debhelper (still confused)

2010-04-07 Thread jmroth+deb
I am still confused about my initial question when which binary-* target in debian/rules is called. Very simple: binary-arch to build all arch-dependent packages from that source and binary-indep to build all arch-independent packages. The binary target should then depend on binary-arch and

Re: flow of things rules/debhelper (still confused)

2010-04-07 Thread Jan Hauke Rahm
On Wed, Apr 07, 2010 at 06:13:25PM +0200, jmroth+...@iip.lu wrote: I am still confused about my initial question when which binary-* target in debian/rules is called. Very simple: binary-arch to build all arch-dependent packages from that source and binary-indep to build all

Re: flow of things rules/debhelper (still confused)

2010-04-07 Thread Russ Allbery
jmroth+...@iip.lu writes: Yeah but I was talking about a debian/rules like binary-indep: cmd1 cmd2 %: dh $@ Here, you can be sure that binary-indep is ignored. It's not if you explicitly do an architecture-independent build with dpkg-buildpackage -A. But if you do a