Hi, On Sat, 21 May 2011, Jakub Wilk wrote: > > #!/usr/bin/make -f > > %: > > dh $@ > > build: build-arch build-indep ; > > build-indep: > > $(MAKE) docs > > build-arch: > > $(MAKE) bins > > ...but even if they did, this example would be incorrect. An > autobuilder calls "./debian/rules binary-arch", which calls "dh > binary-arch", which calls dh_auto_build, which does not care how the > "build" target is defined.
Huh? I think you're wrong. autobuilders call "dpkg-buildpackage -B" which runs "debian/rules build" followed by "fakeroot debian/rules binary-arch". This difference between "build" and "binary{,-arch,-indep}" is nothing new and dpkg-buildpackage always called both. While the above example brings no benefits until we have proper support for build-{arch,indep}, I think it's perfectly ok... Cheers, -- Raphaël Hertzog ◈ Debian Developer Follow my Debian News ▶ http://RaphaelHertzog.com (English) ▶ http://RaphaelHertzog.fr (Français) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org