summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2018-04-25 10:57:14 +0800
committerThibault Saunier <tsaunier@igalia.com>2018-04-25 08:54:46 -0300
commitd9256865b421c753816cb39476fb0362631527c9 (patch)
treef1aaf37bb2b4511a5bb36de85c9eeb915da5c51a
parent48c7ccdc94d7844cc4695b1a43e0649849beef53 (diff)
validate: fix out of source tree build error
It fails to generate gst-validate-enum-types.h and gst-validate-enum-types.c when build out of source tree. Add the path for template files. https://bugzilla.gnome.org/show_bug.cgi?id=795531 Signed-off-by: Kai Kang <kai.kang@windriver.com>
-rw-r--r--validate/gst/validate/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/validate/gst/validate/Makefile.am b/validate/gst/validate/Makefile.am
index 342730a..0e6ed28 100644
--- a/validate/gst/validate/Makefile.am
+++ b/validate/gst/validate/Makefile.am
@@ -50,12 +50,12 @@ nodist_libgstvalidate_@GST_API_VERSION@include_HEADERS = $(built_header_make)
gst-validate-enum-types.h: $(source_h)
$(AM_V_GEN)$(GLIB_MKENUMS) \
- --template gst-validate-enum-types.h.template \
+ --template $(top_srcdir)/gst/validate/gst-validate-enum-types.h.template \
$^ > gst-validate-enum-types.h
gst-validate-enum-types.c: $(source_h)
$(AM_V_GEN)$(GLIB_MKENUMS) \
- --template gst-validate-enum-types.c.template \
+ --template $(top_srcdir)/gst/validate/gst-validate-enum-types.c.template \
$^ > gst-validate-enum-types.c
EXTRA_DIST= \