[Mesa-dev] [PATCH] src/intel/Makefile.vulkan.am: create target directories when required

Ross Burton ross.burton at intel.com
Wed Jul 12 16:17:20 UTC 2017


In out-of-tree builds src/intel/vulkan won't exist, so always create it before
writing into it.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 src/intel/Makefile.vulkan.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
index 3857a5dc62..26e9cd410c 100644
--- a/src/intel/Makefile.vulkan.am
+++ b/src/intel/Makefile.vulkan.am
@@ -44,11 +44,13 @@ EXTRA_DIST += \
 	vulkan/TODO
 
 vulkan/dev_icd.json : vulkan/dev_icd.json.in
+	$(MKDIR_GEN)
 	$(AM_V_GEN) $(SED) \
 		-e "s#@build_libdir@#${abs_top_builddir}/${LIB_DIR}#" \
 		< $(srcdir)/vulkan/dev_icd.json.in > $@
 
 vulkan/intel_icd. at host_cpu@.json : vulkan/intel_icd.json.in
+	$(MKDIR_GEN)
 	$(AM_V_GEN) $(SED) \
 		-e "s#@install_libdir@#${libdir}#" \
 		< $(srcdir)/vulkan/intel_icd.json.in > $@
-- 
2.11.0



More information about the mesa-dev mailing list