summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid I. Lehn <dlehn@users.sourceforge.net>2002-12-05 00:25:13 +0000
committerDavid I. Lehn <dlehn@users.sourceforge.net>2002-12-05 00:25:13 +0000
commit3b7486c82001fb4509e00d188063d64c2e42b210 (patch)
tree8198f08c866c85eb26aecc8ceead3e9ed2f8b918
parent9b4df2818191705563968a52d6fc208e432617ef (diff)
downloadgst-plugins-bad-3b7486c82001fb4509e00d188063d64c2e42b210.tar.gz
gst-plugins-bad-3b7486c82001fb4509e00d188063d64c2e42b210.tar.bz2
gst-plugins-bad-3b7486c82001fb4509e00d188063d64c2e42b210.zip
examples should build conditionally
Original commit message from CVS: examples should build conditionally
-rw-r--r--Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 54500858..696b60d5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,13 +10,19 @@ else
EXT_DIR=
endif
+if BUILD_EXAMPLES
+EXAMPLES_DIR=examples
+else
+EXAMPLES_DIR=
+endif
+
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gstreamer-libs.pc gstreamer-play.pc
aclocaldir = $(datadir)/aclocal
aclocal_DATA = gst-element-check.m4
-SUBDIRS=gst-libs gst sys $(EXT_DIR) examples tools $(GCONF_DIR) testsuite
+SUBDIRS=gst-libs gst sys $(EXT_DIR) $(EXAMPLES_DIR) tools $(GCONF_DIR) testsuite
DIST_SUBDIRS=gst-libs gst sys ext examples tools gconf testsuite