From: Emil Velikov <emil.veli...@collabora.com>

Use the shorthand make variable(s) as elsewhere in the build.

Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
---
 src/intel/Makefile.genxml.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/Makefile.genxml.am b/src/intel/Makefile.genxml.am
index f8b0363..519f30e 100644
--- a/src/intel/Makefile.genxml.am
+++ b/src/intel/Makefile.genxml.am
@@ -37,7 +37,7 @@ $(GENXML_GENERATED_FILES): genxml/gen_pack_header.py
 %_xml.h:  %.xml Makefile
        $(MKDIR_GEN)
        $(AM_V_GEN) echo -n "static const uint8_t " > $@; \
-       echo "`basename $@`_xml[] = {" | sed -e 's,_xml.h,,' >> $@; \
+       echo "$(@F)_xml[] = {" | sed -e 's,_xml.h,,' >> $@; \
        cat $< | $(XXD) -i >> $@; \
        echo "};" >> $@
 
-- 
2.10.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to