[debhelper-devel] Bug#781370: Bug#781370: Bug#781370: debhelper: Should allow for something like override_dh*-common in addition to -arch and -indep
Niels Thykier
niels at thykier.net
Sat Feb 18 16:48:00 UTC 2017
Robert Luberda:
> Niels Thykier pisze:
> Hi,
>
>>
>> Thanks for your suggestion.
>>
>> However, I must admit I am not entirely convinced about the idea. I
>> sort of see where you are coming from, but I do not see why this cannot
>> trivially be solved by the current interface and make target dependencies.
>
> Yes, one can do something like in debian/rules:
>
> install-common:
> ...
> override_dh_auto_install-arch: install-common
> ...
> override_dh_auto_install-indep: install-common
> ...
>
> but this has the disadvantage of install-common being run twice, which
> obviously can be work-arounded by using timestamp file:
>
> [...]
>
Couldn't this be "easily" fixed by dh calling make with both override
targets at the same time and let "make" use its dependency ordering to
sort out the rest?
Thanks,
~Niels
More information about the debhelper-devel
mailing list