Re: debhelper 7 and architecture dependent/independent packages
On Mon, Apr 11, 2011 at 05:20:32PM +0200, Ansgar Burchardt wrote:
> Marc Haber <mh+debian-mentors@zugschlus.de> writes:
> > I have a package which builds one architecture dependent and one
> > architecture independent binary package and uses dephelper 7. Due to
> > the weird and kind of incomplete upstream build code, I had to
> > override the dh_autoinstall target with an override_dh_auto_install
> > target in my debian/rules.
>
> I had similar problems myself and stopped using override_* targets for
> commands that should only run when building the arch-indep packages.
> Instead I now use
>
> --8<---------------cut here---------------start------------->8---
> %:
> dh $@
>
> binary-indep:
> dh --before dh_install $@
> dh_install -i
> find debian/btanks-data/ -type f -print0 | xargs -0 chmod 0644
> dh --remaining $@
>
> binary: binary-arch binary-indep
> --8<---------------cut here---------------end--------------->8---
>
> (taken from btanks with the additional override_* targets stripped)
Thank you very much, this worked for me.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
Reply to: