Commit b370ec7c authored by Emil Velikov's avatar Emil Velikov Committed by Emil Velikov
Browse files

anv: tweak the %.json rule



It's used only by dev_icd.json so just call it that way. While we're
here, manually expand $< (as it might cause issue on some systems)
and drop the unneeded install_libdir substitution.
Acked-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.velikov@collabora.com>
parent abd360ab
......@@ -190,11 +190,10 @@ icdconf_DATA = intel_icd.json
# The following is used for development purposes, by setting VK_ICD_FILENAMES.
noinst_DATA = dev_icd.json
%.json : %.json.in
dev_icd.json : dev_icd.json.in
$(AM_V_GEN) $(SED) \
-e "s#@build_libdir@#${abs_top_builddir}/${LIB_DIR}#" \
-e "s#@install_libdir@#${libdir}#" < $< > $@
-e "s#@build_libdir@#${abs_top_builddir}/${LIB_DIR}#"
< $(srcdir)/dev_icd.json.in > $@
# Libvulkan with dummy gem. Used for unit tests.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment