mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
Fix 'make distcheck'
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.
This commit is contained in:
parent
7a265c1451
commit
a2be8a546a
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ check-enum-gettypes: $(top_builddir)/gst/gstenumtypes.h
|
|||
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; \
|
||||
|
|
Loading…
Reference in a new issue