Bug#627534: dh manpage: wrong/misleading example about build-{arch, indep}

2011-05-23 Thread Raphael Hertzog
On Sat, 21 May 2011, Jakub Wilk wrote: My point was: dpkg-buildpackage also calls debian/rules binary-arch, which will typically do all the work we were trying to avoid by defining separate build-indep and build-arch targets. Currently, yes. But since dpkg-buildpackage calls debian/rules

Bug#627534: dh manpage: wrong/misleading example about build-{arch, indep}

2011-05-21 Thread Jakub Wilk
Package: debhelper Version: 8.1.6 Severity: normal Quoting dh manual page: Finally, remember that you are not limited to using override targets in the rules file when using dh. True. But IME people are very prone to do it wrong. You can also explicitly define any of the regular rules file

Bug#627534: dh manpage: wrong/misleading example about build-{arch, indep}

2011-05-21 Thread Raphael Hertzog
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

Bug#627534: dh manpage: wrong/misleading example about build-{arch, indep}

2011-05-21 Thread Jakub Wilk
* Raphael Hertzog hert...@debian.org, 2011-05-21, 22:32: #!/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