From d9256865b421c753816cb39476fb0362631527c9 Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Wed, 25 Apr 2018 10:57:14 +0800 Subject: [PATCH] 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 --- validate/gst/validate/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validate/gst/validate/Makefile.am b/validate/gst/validate/Makefile.am index 342730a107..0e6ed285df 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= \