OSDN Git Service

build: add to VPATH src and build dirs
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 1 Feb 2018 08:08:36 +0000 (09:08 +0100)
committerXiang, Haihao <haihao.xiang@intel.com>
Sun, 11 Feb 2018 11:35:46 +0000 (19:35 +0800)
In order to make out-of-tree builds and distcheck to work, we should
set the VPATH to look for sources also in srcdir and builddir.

src/shaders/post_processing/gen9/Makefile.am

index d58cd9a..527a303 100644 (file)
@@ -1,5 +1,5 @@
-SRCDIR = $(top_srcdir)/src/shaders/post_processing/gen8
-VPATH = $(SRCDIR)
+G8A_DIR = $(top_srcdir)/src/shaders/post_processing/gen8
+VPATH = $(G8A_DIR) $(srcdir) $(builddir)
 
 INTEL_PP_PRE_G9B =             \
        conv_p010.g9b           \