diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2014-12-17 20:02:05 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2014-12-18 09:36:51 +0000 |
commit | b6e4587afdc5291e1e6ad9e23df3282b21178b12 (patch) | |
tree | 9189695e266de77ba9d86b23e220505d052a541f | |
parent | fa4d8db7ea9079e3a92cdc4fcccc284e22c0df63 (diff) |
configure: add --disable-examples switch
https://bugzilla.gnome.org/show_bug.cgi?id=741678
-rw-r--r-- | Makefile.am | 10 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 43483ed..9624f7e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,14 +1,20 @@ 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 \ diff --git a/configure.ac b/configure.ac index 4d804ba..4ac95c1 100644 --- a/configure.ac +++ b/configure.ac @@ -87,6 +87,8 @@ AG_GST_ARG_WITH_PKG_CONFIG_PATH 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], |