[Mesa-dev] [PATCH] genxml: add generated headers to EXTRA_DIST

Jonathan Gray jsg at jsg.id.au
Sun Oct 16 12:51:10 UTC 2016


On Sun, Oct 16, 2016 at 11:08:42PM +1100, Jonathan Gray wrote:
> Building the Mesa 12.0.3 distfile failed on a system without python
> as generated files were not included in the distfile.
> 
> Cc: "12.0" <mesa-stable at lists.freedesktop.org>
> Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
> ---
>  src/intel/Makefile.genxml.am | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/intel/Makefile.genxml.am b/src/intel/Makefile.genxml.am
> index 39f579c..2df223a 100644
> --- a/src/intel/Makefile.genxml.am
> +++ b/src/intel/Makefile.genxml.am
> @@ -23,6 +23,10 @@ BUILT_SOURCES += \
>  	$(GENXML_GENERATED_FILES) \
>  	$(AUBINATOR_GENERATED_FILES)
>  
> +EXTRA_DIST += \
> +	$(GENXML_GENERATED_FILES) \
> +	$(AUBINATOR_GENERATED_FILES)
> +
>  SUFFIXES = _pack.h _xml.h .xml
>  
>  $(GENXML_GENERATED_FILES): genxml/gen_pack_header.py
> -- 
> 2.9.3

The makefiles are different on the 12.0 branch and there is no
aubinator.  Here is a patch against the 12.0 branch:

diff --git a/src/intel/genxml/Makefile.am b/src/intel/genxml/Makefile.am
index f98cf78..32f5ace 100644
--- a/src/intel/genxml/Makefile.am
+++ b/src/intel/genxml/Makefile.am
@@ -37,6 +37,7 @@ endif
 CLEANFILES = $(BUILT_SOURCES)
 
 EXTRA_DIST = \
+	$(GENXML_GENERATED_FILES) \
 	gen6.xml \
 	gen7.xml \
 	gen75.xml \


More information about the mesa-dev mailing list