structured: Enhance error message when no clip duration set
[platform/upstream/gst-editing-services.git] / Makefile.am
index f32edf7..a25008b 100644 (file)
@@ -1,16 +1,21 @@
-DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
+DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --with-bash-completion-dir=no
 
-SUBDIRS = ges tests tools common m4 pkgconfig docs
+if BUILD_EXAMPLES
+EXAMPLES_SUBDIRS= examples
+else
+EXAMPLES_SUBDIRS=
+endif
 
-DIST_SUBDIRS = $(SUBDIRS)
+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 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
 
@@ -22,20 +27,34 @@ 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)/common/shave \
- $(top_builddir)/common/shave-libtool
+       $(top_builddir)/gst-editing-services.spec \
+       $(top_builddir)/common/shave \
+       $(top_builddir)/common/shave-libtool
 
 include $(top_srcdir)/common/cruft.mak