On Wed, 7 Sep 2011 12:04:59 +0200, Mathieu Malaterre wrote: > %: > dh $@ --with cli,python2 --parallel > > Unknown option: with > dh_icons: warning: ignored unknown options in DH_OPTIONS > dh_perl -O--parallel > Unknown option: with > dh_perl: warning: ignored unknown options in DH_OPTIONS > dh_python2 -O--parallel > Usage: dh_python2 -p PACKAGE [-V [X.Y][-][A.B]] DIR [-X REGEXPR] > > > dh_python2: error: no such option: --with > make: *** [binary] Error 2 > dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status > 2 Then it's (probably) a bug in dh_python2 in how it handles unknown options. This is a drawback of dh7, IIRC: the same options are passed to all dh_* helpers, and they should cope with them. See how dh_icons and dh_perl handle the unknown (for them) option "--parallel". David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
Attachment:
signature.asc
Description: PGP signature