[Pkg-giraffe-discuss] [PATCH 2/4] debian/rules: adjust the targets after dh version change

Guido Günther agx at sigxcpu.org
Sun Dec 18 16:51:07 UTC 2016


On Sun, Dec 18, 2016 at 05:14:56PM +0100, c.schoenert at t-online.de wrote:
> From: Carsten Schoenert <c.schoenert at t-online.de>
> 
> Especially after the move to dh10 the autotools need a file
> config.rpath. But for libvmime we can ignore this file and just touching
> this file so autoreconf will be happy.
> 
> Because of dh_autoreconf we don't need to call bootstrap then again,
> which does the same basically as dh_autoreconf. We can remove that call.

Is that true when running from a git checkout rather than from a
reloased version? I figure that's the reason for the [ -f ./boostrap ] ?
 -- Guido

> ---
>  debian/rules | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/debian/rules b/debian/rules
> index 73aeaf3..f637d33 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -36,8 +36,11 @@ override_dh_auto_clean:
>  	cd src ; rm -f `find . -type l`
>  	dh_auto_clean
>  
> +override_dh_autoreconf:
> +	touch autotools/config.rpath
> +	dh_autoreconf
> +
>  override_dh_auto_configure:
> -	[ -f ./bootstrap ] && ./bootstrap
>  	dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_ARGS)
>  
>  override_dh_install:
> -- 
> 2.10.2
> 
> 
> _______________________________________________
> Pkg-giraffe-discuss mailing list
> Pkg-giraffe-discuss at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-giraffe-discuss
> 



More information about the Pkg-giraffe-discuss mailing list