diff options
author | Dylan Baker <[email protected]> | 2017-02-22 16:37:10 -0800 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2017-02-22 17:08:52 -0800 |
commit | fb26e6c0d4f1fb47c028bc11a059ac5db57ae5db (patch) | |
tree | 349edcc14aafab371751ca124805dcff1bd63d32 | |
parent | 1bd0e9ca33373a89b4e9d430a8d77149beec883b (diff) |
vulkan: Fix gen_enum_to_str in out of tree builds
In some configurations the util directory is created when building out
of tree, but not others. This patch ensures that it's created.
Signed-off-by: Dylan Baker <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-and-Tested-by: Mike Lothian <[email protected]>
-rw-r--r-- | src/vulkan/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vulkan/Makefile.am b/src/vulkan/Makefile.am index fa72d63d65f..5cdffbf901e 100644 --- a/src/vulkan/Makefile.am +++ b/src/vulkan/Makefile.am @@ -5,6 +5,9 @@ noinst_LTLIBRARIES = libvulkan_wsi.la libvulkan_util.la vulkan_includedir = $(includedir)/vulkan vulkan_api_xml = $(top_srcdir)/src/vulkan/registry/vk.xml +MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D) +PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) + EXTRA_DIST = \ util/gen_enum_to_str.py @@ -13,7 +16,8 @@ BUILT_SOURCES = \ util/vk_enum_to_str.h util/vk_enum_to_str.c util/vk_enum_to_str.h: util/gen_enum_to_str.py $(vulkan_api_xml) - $(AM_V_GEN)$(PYTHON2) $(srcdir)/util/gen_enum_to_str.py + $(MKDIR_GEN) + $(PYTHON_GEN) $(srcdir)/util/gen_enum_to_str.py libvulkan_util_la_SOURCES = $(VULKAN_UTIL_FILES) |