[842/906] Fix gstglconfig.h-related 'make distcheck' issues

Fix srcdir vs. builddir issue in docs and 'files left after
disclean' issue for gstglconfig.h
This commit is contained in:
Tim-Philipp Müller 2013-12-25 23:35:50 +00:00
parent e42b5bc985
commit b0999fbc03

View file

@ -6,6 +6,8 @@ DIST_SUBDIRS = glprototypes android x11 win32 cocoa wayland dispmanx
noinst_HEADERS =
built_header_configure = gstglconfig.h
libgstgl_@GST_API_VERSION@_la_SOURCES = \
gstgldisplay.c \
gstglcontext.c \
@ -67,7 +69,6 @@ endif
libgstgl_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl
libgstgl_@GST_API_VERSION@include_HEADERS = \
gstglconfig.h \
gstglwindow.h \
gstgldisplay.h \
gstglcontext.h \
@ -88,6 +89,9 @@ libgstgl_@GST_API_VERSION@include_HEADERS = \
gstgl_fwd.h \
gl.h
nodist_libgstgl_@GST_API_VERSION@include_HEADERS = \
$(built_header_configure)
libgstgl_@GST_API_VERSION@_la_CFLAGS = \
-I$(top_srcdir)/gst-libs \
$(GL_CFLAGS) \
@ -101,3 +105,6 @@ libgstgl_@GST_API_VERSION@_la_LDFLAGS = \
$(GST_LIB_LDFLAGS) \
$(GST_ALL_LDFLAGS) \
$(GST_LT_LDFLAGS)
# DISTCLEANFILES is for files generated by configure
DISTCLEANFILES = $(built_header_configure)