build as a lib rather than a plugin
[platform/upstream/gstreamer.git] / Makefile.am
index 89d37c9..4564aa5 100644 (file)
@@ -19,12 +19,11 @@ else
 SUBDIRS_EXAMPLES =
 endif
 
-SUBDIRS = include gst libs tools m4 \
+SUBDIRS = include gst libs tools \
        $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) $(SUBDIRS_DOCS)
 
 # These are all the possible subdirs
-DIST_SUBDIRS = include gst libs tools m4 tests testsuite examples docs
-
+DIST_SUBDIRS = include libs gst tools tests testsuite examples docs
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = gstreamer.pc
@@ -32,11 +31,12 @@ pkgconfig_DATA = gstreamer.pc
 EXTRA_DIST = gstreamer.spec.in \
             gstreamer.pc.in gstreamer-uninstalled.pc.in \
             configure.ac autogen.sh depcomp \
-            LICENSE REQUIREMENTS ABOUT-NLS RELEASE \
-            idiottest.mak
+            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