Makefile: Clean up for make distcheck

Directories, headers, files weren't properly disted

Also clean up the various CFLAGS/HEADERS/SOURCES variables and remove
ones that aren't needed.
This commit is contained in:
Edward Hervey 2013-08-13 10:11:42 +02:00 committed by Thiago Santos
parent 24d5e9e1ba
commit c8e2e3aa67
2 changed files with 32 additions and 25 deletions

View file

@ -1,8 +1,9 @@
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
SUBDIRS = \ SUBDIRS = \
gst \ common \
common \ data \
gst \
po po
DIST_SUBDIRS = $(SUBDIRS) DIST_SUBDIRS = $(SUBDIRS)

View file

@ -1,7 +1,4 @@
public_headers = \ libgstqa_@GST_API_VERSION@_la_SOURCES = \
qa.h
c_sources = \
gst-qa-runner.c \ gst-qa-runner.c \
gst-qa-reporter.c \ gst-qa-reporter.c \
gst-qa-monitor.c \ gst-qa-monitor.c \
@ -16,51 +13,60 @@ c_sources = \
gst-qa-file-checker.c \ gst-qa-file-checker.c \
gst-qa-monitor-preload.c gst-qa-monitor-preload.c
noinst_HEADERS = noinst_HEADERS = \
gst-qa-i18n-lib.h gettext.h \
gst-qa-bin-monitor.h \
gst-qa-element-monitor.h \
gst-qa-file-checker.h \
gst-qa-i18n-lib.h \
gst-qa-monitor-factory.h \
gst-qa-monitor.h \
gst-qa-override.h \
gst-qa-override-registry.h \
gst-qa-pad-monitor.h \
gst-qa-reporter.h \
gst-qa-report.h \
gst-qa-runner.h \
gst-qa-scenario.h
lib_LTLIBRARIES = \ lib_LTLIBRARIES = \
libgstqa-@GST_API_VERSION@.la \ libgstqa-@GST_API_VERSION@.la \
libgstqa-default-overrides-@GST_API_VERSION@.la libgstqa-default-overrides-@GST_API_VERSION@.la
libgstqa_@GST_API_VERSION@_la_SOURCES = \ libgstqa_@GST_API_VERSION@_la_CFLAGS = $(GST_ALL_CFLAGS) $(GIO_CFLAGS)
$(c_sources)
libgstqa_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS)
libgstqa_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) \ libgstqa_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) \
$(GST_LT_LDFLAGS) $(GIO_LDFLAGS) $(GST_LT_LDFLAGS) $(GIO_LDFLAGS)
libgstqa_@GST_API_VERSION@_la_LIBADD = \ libgstqa_@GST_API_VERSION@_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \ $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
$(GST_LIBS) $(GIO_LIBS) $(GST_ALL_LIBS) $(GIO_LIBS)
libgstqa_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/qa libgstqa_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/qa
libgstqa_@GST_API_VERSION@include_HEADERS = $(public_headers) libgstqa_@GST_API_VERSION@include_HEADERS = \
qa.h
libgstqa_default_overrides_@GST_API_VERSION@_la_SOURCES = \ libgstqa_default_overrides_@GST_API_VERSION@_la_SOURCES = \
gst-qa-default-overrides.c gst-qa-default-overrides.c
libgstqa_default_overrides_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS) libgstqa_default_overrides_@GST_API_VERSION@_la_CFLAGS = $(GST_ALL_CFLAGS) $(GIO_CFLAGS)
libgstqa_default_overrides_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) \ libgstqa_default_overrides_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) \
$(GST_LT_LDFLAGS) $(GIO_LDFLAGS) $(GST_LT_LDFLAGS) $(GIO_LDFLAGS)
libgstqa_default_overrides_@GST_API_VERSION@_la_LIBADD = \ libgstqa_default_overrides_@GST_API_VERSION@_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \ $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
$(GST_LIBS) $(GIO_LIBS) $(GST_ALL_LIBS) $(GIO_LIBS)
libgstqa_default_overrides_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/qa libgstqa_default_overrides_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/qa
libgstqa_default_overrides_@GST_API_VERSION@include_HEADERS = libgstqa_default_overrides_@GST_API_VERSION@include_HEADERS =
bin_PROGRAMS = gst-qa-@GST_API_VERSION@ gst-qa-transcoding-@GST_API_VERSION@ gst-qa-file-check-@GST_API_VERSION@ bin_PROGRAMS = \
AM_CFLAGS = -I$(top_srcdir) $(GST_PBUTILS_CFLAGS) $(GST_CFLAGS) gst-qa-@GST_API_VERSION@ \
LDADD = $(top_builddir)/gst/qa/libgstqa-@GST_API_VERSION@.la $(GST_PBUTILS_LIBS) $(GST_LIBS) gst-qa-transcoding-@GST_API_VERSION@ \
gst-qa-file-check-@GST_API_VERSION@
gst_qa_transcoding-@GST_API_VERSION@$(EXEEXT): $(LTLIBRARIES) AM_CFLAGS = $(GST_ALL_CFLAGS) $(GST_PBUTILS_CFLAGS)
gst_qa_@GST_API_VERSION@$(EXEEXT): $(LTLIBRARIES) LDADD = $(top_builddir)/gst/qa/libgstqa-@GST_API_VERSION@.la $(GST_PBUTILS_LIBS) $(GST_LIBS)
gst_qa_file_check-@GST_API_VERSION@$(EXEEXT): $(LTLIBRARIES)
gst_qa_@GST_API_VERSION@_SOURCES = gst-qa.c gst_qa_@GST_API_VERSION@_SOURCES = gst-qa.c
gst_qa_transcoding_@GST_API_VERSION@_SOURCES = gst-qa-transcoding.c gst_qa_transcoding_@GST_API_VERSION@_SOURCES = gst-qa-transcoding.c
gst_qa_transcoding_@GST_API_VERSION@_CFLAGS = $(GST_CFLAGS) $(GST_PBUTILS_CFLAGS)
gst_qa_file_check_@GST_API_VERSION@_SOURCES = gst-qa-file-check.c gst_qa_file_check_@GST_API_VERSION@_SOURCES = gst-qa-file-check.c
gst_qa_file_check_@GST_API_VERSION@_CFLAGS = $(GST_CFLAGS) $(GST_PBUTILS_CFLAGS)
CLEANFILES = CLEANFILES =