anv: honor DESTDIR when installing icd file
authorLaurent Carlier <lordheavym@gmail.com>
Sun, 17 Apr 2016 09:38:53 +0000 (11:38 +0200)
committerChad Versace <chad.versace@intel.com>
Tue, 26 Apr 2016 21:57:54 +0000 (14:57 -0700)
https://bugs.freedesktop.org/show_bug.cgi?id=94969

Reviewed-by: Chad Versace <chad.versace@intel.com>
src/intel/vulkan/Makefile.am

index edbe2132b2280d0c79d5957b4b72835671e95664..beb700650a31177eaa1a87ee4e26c261edd5da69 100644 (file)
@@ -210,4 +210,4 @@ libvulkan_test_la_LIBADD = $(libvulkan_intel_la_LIBADD)
 include $(top_srcdir)/install-lib-links.mk
 
 install-data-local:
-       $(INSTALL_DATA) -D $(srcdir)/intel_icd.json $(VULKAN_ICD_INSTALL_DIR)/intel_icd.json
+       $(INSTALL_DATA) -D $(srcdir)/intel_icd.json $(DESTDIR)/$(VULKAN_ICD_INSTALL_DIR)/intel_icd.json