Re: Fwd: Bug#764549: ITP: siril -- Astronomical image processing tool
Le 21/10/2014 10:42, Sergio Gelato a écrit :
> Indeed. Normally one just lets dh_make insert a call in the appropriate
> place in debian/rules, or (even better) lets dh figure it all out. I've
> never had to worry about dh_installchangelogs. The answer here may be to
> clean up (and hopefully simplify) debian/rules.
Hi, nice remark.
I've checked debian/rules: Vincent, you call dh_installchangelogs in the
generic rule, which means that it is being called at each step of the
build process!
Given that you are using the trivial dh syntax, you do not need to call
dh_installchangelogs explicitly at all. If you need to pass explicit
parameters (which you do not), use an override instead:
8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
#!/usr/bin/make -f
%:
dh $@ --with autoreconf,autotools_dev
override_dh_installchangelogs:
dh_installchangelogs <parameters>
8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
Kin regards, Thibaut.
Reply to: