Hi,

Marc Haber <mh+debian-ment...@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)

Regards,
Ansgar


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87aafwq0fz....@marvin.43-1.org

Reply via email to