[Mesa-dev] [PATCH] autotools: include git_sha1.h in dist tarball

Eric Engestrom eric at engestrom.ch
Mon Aug 20 20:32:32 UTC 2018


On Monday, 2018-08-20 14:23:28 +0000, Juan A. Suarez Romero wrote:
> This fixes `make distcheck`.
> 
> Fixes: 471f708ed6 ("git_sha1: simplify logic")
> CC: Eric Engestrom <eric.engestrom at intel.com>
> ---
>  src/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 396865cbe55..412510f435b 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -26,7 +26,7 @@ git_sha1.h:
>  
>  BUILT_SOURCES = git_sha1.h
>  CLEANFILES = $(BUILT_SOURCES)
> -EXTRA_DIST = git_sha1.h.in meson.build
> +EXTRA_DIST = git_sha1.h meson.build

Hmm, I need to double-check (tomorrow), but this feels wrong to me:
shouldn't we drop it from the EXTRA_DIST, so that it gets regenerated on
the system using the release tarball, instead of shipping the one built
from git?

I'm not that familiar with autotools' dist system, so I might be wrong.

>  
>  SUBDIRS = . gtest util mapi/glapi/gen mapi
>  
> -- 
> 2.17.1
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list