-DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
+DISTCHECK_CONFIGURE_FLAGS=--disable-gtk-doc --with-bash-completion-dir=no
-SUBDIRS = ges tests
+if BUILD_EXAMPLES
+EXAMPLES_SUBDIRS= examples
+else
+EXAMPLES_SUBDIRS=
+endif
-DIST_SUBDIRS = ges
+SUBDIRS = ges tests tools common m4 pkgconfig docs bindings plugins $(EXAMPLES_SUBDIRS)
-# include before EXTRA_DIST for win32 assignment
-include $(top_srcdir)/common/win32.mak
+DIST_SUBDIRS = $(SUBDIRS)
EXTRA_DIST = \
- gst-editing-services.spec depcomp \
+ depcomp \
AUTHORS COPYING NEWS README RELEASE \
- ChangeLog gst-editing-services.doap autogen.sh
+ ChangeLog autogen.sh gst-editing-services.doap \
+ $(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/$(PACKAGE_TARNAME)-*" ) \
+ meson_options.txt
DISTCLEANFILES = _stdint.h
include $(top_srcdir)/common/release.mak
include $(top_srcdir)/common/po.mak
+include $(top_srcdir)/common/coverage/lcov.mak
+
check-valgrind:
- cd tests/check && make check-valgrind
+ $(MAKE) -C tests/check check-valgrind
+
+# Test actual high-level functionnality.
+check-integration:
+ $(MAKE) -C tests/check check-integration
+
+if ENABLE_BASH_COMPLETION
+bashcompletiondir = $(BASH_COMPLETION_DIR)
+dist_bashcompletion_DATA = data/completions/ges-launch-1.0
+endif
if HAVE_GST_CHECK
check-torture:
- cd tests/check && make torture
+ $(MAKE) -C tests/check torture
+build-checks:
+ $(MAKE) -C tests/check build-checks
else
check-torture:
true
+build-checks:
+ true
endif
+# cruft: plugins that have been merged or moved or renamed
+CRUFT_FILES = \
+ $(top_builddir)/gst-editing-services.spec \
+ $(top_builddir)/common/shave \
+ $(top_builddir)/common/shave-libtool
+
+include $(top_srcdir)/common/cruft.mak
+all-local: check-cruft