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>
This commit is contained in:
Kai Kang 2018-04-25 10:57:14 +08:00 committed by Thibault Saunier
parent 48c7ccdc94
commit d9256865b4

View file

@ -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= \