-# if libglade is present, build the player and editor
-if HAVE_LIBGLADE_GNOME
-SUBDIRS_LGG = gstplay editor
+PACKAGE = @PACKAGE@
+VERSION = @VERSION@
+
+if BUILD_DOCS
+SUBDIRS_DOCS = docs
else
-SUBDIRS_LGG =
+SUBDIRS_DOCS =
endif
-SUBDIRS = include gst libs plugins tools test tests examples docs $(SUBDIRS_LGG)
+if BUILD_TESTS
+SUBDIRS_TESTS = tests testsuite
+else
+SUBDIRS_TESTS =
+endif
-# These are all the possible subdirs
-DIST_SUBDIRS = include gst libs plugins tools test tests examples docs gstplay editor
+if BUILD_EXAMPLES
+SUBDIRS_EXAMPLES = examples
+else
+SUBDIRS_EXAMPLES =
+endif
+SUBDIRS = include gst libs tools \
+ $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) $(SUBDIRS_DOCS)
-bin_SCRIPTS = gstreamer-config
+# These are all the possible subdirs
+DIST_SUBDIRS = include libs gst tools tests testsuite examples docs
-m4datadir = $(datadir)/aclocal
-m4data_DATA = gstreamer.m4
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = gstreamer.pc
-EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 LICENSE
+EXTRA_DIST = gstreamer.spec.in \
+ gstreamer.pc.in gstreamer-uninstalled.pc.in \
+ configure.ac autogen.sh depcomp \
+ REQUIREMENTS ABOUT-NLS RELEASE DOCBUILDING DEVEL \
+ idiottest.mak common
dist-hook:
cp gstreamer.spec $(distdir)
+ rm -rf `find $(distdir)/common -name CVS`
rpm: dist
rpm -ta $(distdir).tar.gz
+
+include $(top_srcdir)/idiottest.mak
+