[vlc-devel] [PATCH] contrib: don't unnecessary rebuild microdns

Thomas Guillem thomas at gllm.fr
Tue May 31 09:10:53 CEST 2016



On Tue, May 31, 2016, at 02:59, Andrey Gursky wrote:
> As a rule the content of a tarball doesn't have newer timestamps than the
> tarball file itself. Thus after unpacking the directory microdns has an
> older timestamp than the tarball file. Every time make runs, it thinks
> the
> tarball has been updated and microdns must be rebuilt.
> 
> To avoid this, additionally touch the directory microdns after unpacking,
> which is already included in a predefined command MOVE.
> ---
>  contrib/src/microdns/rules.mak | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/contrib/src/microdns/rules.mak
> b/contrib/src/microdns/rules.mak
> index 804d2a5..a1ec73b 100644
> --- a/contrib/src/microdns/rules.mak
> +++ b/contrib/src/microdns/rules.mak
> @@ -17,7 +17,7 @@ $(TARBALLS)/microdns-$(LIBMICRODNS_VERSION).tar.gz:
>  
>  microdns: microdns-$(LIBMICRODNS_VERSION).tar.gz .sum-microdns
>         $(UNPACK)
> -       mv microdns-$(LIBMICRODNS_VERSION) microdns
> +       $(MOVE)

Applied, thanks !

>  
>  .microdns: microdns
>         cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
> -- 
> 2.8.1
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list