Commit c85e958c authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

pbutils: use fewer variables in Makefile.am to make things clearer

Also fix typo in DISTCLEANFILES.
parent 4c42a584
......@@ -14,14 +14,6 @@ glib_enum_define = GST_INSTALL
glib_gen_prefix = gst_install
glib_gen_basename = pbutils
built_sources = \
pbutils-enumtypes.c \
pbutils-marshal.c
built_headers = \
pbutils-enumtypes.h \
pbutils-marshal.h
built_headers_configure = \
gstpluginsbaseversion.h
......@@ -36,13 +28,16 @@ libgstpbutils_@GST_MAJORMINOR@_la_SOURCES = \
gstdiscoverer-types.c
nodist_libgstpbutils_@GST_MAJORMINOR@_la_SOURCES = \
$(built_sources)
pbutils-enumtypes.c \
pbutils-marshal.c
libgstpbutils_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/pbutils
libgstpbutils_@GST_MAJORMINOR@include_HEADERS = \
$(headers_pbutils)
nodist_libgstpbutils_@GST_MAJORMINOR@include_HEADERS = \
$(built_headers) $(built_headers_configure)
$(built_headers_configure) \
pbutils-enumtypes.h \
pbutils-marshal.h
noinst_HEADERS = \
pbutils-private.h
EXTRA_DIST = pbutils-marshal.list
......@@ -54,13 +49,15 @@ libgstpbutils_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLA
libgstpbutils_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
BUILT_SOURCES = \
$(built_sources) \
$(built_headers)
pbutils-enumtypes.c \
pbutils-enumtypes.h \
pbutils-marshal.c \
pbutils-marshal.h
CLEANFILES = $(BUILT_SOURCES)
# DISTCLEANFILES is for files generated by configure
DISTCLEANFILES = $(built_header_configure)
DISTCLEANFILES = $(built_headers_configure)
include $(top_srcdir)/common/gst-glib-gen.mak
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment