https://bugzilla.gnome.org/show_bug.cgi?id=741678
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
+if BUILD_EXAMPLES
+SUBDIRS_EXAMPLES = examples
+else
+SUBDIRS_EXAMPLES =
+endif
+
SUBDIRS = \
gst \
common \
pkgconfig \
docs \
- examples \
+ $(SUBDIRS_EXAMPLES)
tests
-DIST_SUBDIRS = $(SUBDIRS)
+DIST_SUBDIRS = gst common pkgconfig docs examples tests
EXTRA_DIST = \
ChangeLog autogen.sh depcomp \
AG_GST_ARG_WITH_PACKAGE_NAME
AG_GST_ARG_WITH_PACKAGE_ORIGIN
+AG_GST_ARG_EXAMPLES
+
AG_GST_PKG_CONFIG_PATH
AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO],