summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 21085dde8..6f750f68a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,8 +4,14 @@ else
GCONF_DIR=
endif
-SUBDIRS=gst-libs gst sys ext examples tools $(GCONF_DIR) ## testsuite
+if BUILD_EXTERNAL
+EXT_DIR=ext
+else
+EXT_DIR=
+endif
+
+SUBDIRS=gst-libs gst sys $(EXT_DIR) examples tools $(GCONF_DIR) ## testsuite
-DIST_SUBDIRS=gst-libs gst sys ext examples tools gconf ## testsuite
+DIST_SUBDIRS=gst-libs gst sys $(EXT_DIR) examples tools gconf ## testsuite
EXTRA_DIST=gst-plugins.spec depcomp AUTHORS COPYING README RELEASE ChangeLog autogen.sh