On Sun, Oct 19, 2003 at 12:18:51PM +0200, Bill Allombert wrote: > > this-and-that function of Make" (so far I remember only two of those, when > > the DEB_BUILD_OPTIONS env. variable was added and when testing for existence > > of build-arch was added). > > ... which was a fiasco. Doogie finally implemented the proposal and revert it > > dpkg (1.10.15) unstable; urgency=low > > * Back out debian/rules build-arch detection. It is *not* possible *at > all* to detect available targets in a rules file. Period. > > -- Adam Heath <[EMAIL PROTECTED]> Fri, 19 Sep 2003 20:02:19 -0500 > > The rationale are not available to me, but I trust him since he really > tried.
I'd be interested to see doogie's rationale, but it's amusing enough as it stands, because the policy still says: If one or both of the targets `build-arch' and `build-indep' are not provided, then invoking `debian/rules' with one of the not-provided targets as arguments should produce a exit status code of 2. Usually this is provided automatically by make if the target is missing. ...thereby, in its trend of hinting at Make-specific stuff, going against the judgement of not one but two dpkg maintainers. -- 2. That which causes joy or happiness.