The check-enum-gettypes rule didn't work for 'make distcheck' since
it makes assumptions about the location of the source files from the
current working directory which isn't true during distchecking.
FUNCS=`grep '_get_type (' gst/gstenumtypes.h | sed -e 's/^.*gst_/gst_/' -e 's/_get_type.*$$/_get_type/'`;\
MISSING_FUNCS=''; \
for f in $$FUNCS; do \
- INIT_LINE=`grep $$f gst/*.c | grep g_type_class_ref`; \
+ INIT_LINE=`grep $$f $(top_srcdir)/gst/*.c | grep g_type_class_ref`; \
if test "x$$INIT_LINE" = "x"; then \
MISSING_FUNCS="$$MISSING_FUNCS $$f"; \
fi; \