diff --git a/Makefile.am b/Makefile.am
index 63003e6367a10cfa74a44d0aa656889eafac2257..08ceae8f854e9493f3eb5eb75b63b5d703768517 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
-if USE_GCONFTOOL
-GCONF_DIR=gconf
-else
-GCONF_DIR=
-endif
+DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
-if BUILD_EXTERNAL
-EXT_DIR=ext
-else
-EXT_DIR=
-endif
+SUBDIRS = \
+ gst-libs gst ext docs m4 tests common pkgconfig po
-if BUILD_EXAMPLES
-EXAMPLES_DIR=examples
+# include before EXTRA_DIST for win32 assignment
+include $(top_srcdir)/common/win32.mak
+
+EXTRA_DIST = \
+ gst-plugins-ugly.spec depcomp \
+ AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
+ ChangeLog gst-plugins-ugly.doap autogen.sh \
+ $(win32)
+
+
+DISTCLEANFILES = _stdint.h
+
+ACLOCAL_AMFLAGS = -I m4 -I common/m4
+
+include $(top_srcdir)/common/release.mak
+include $(top_srcdir)/common/po.mak
+
+check-valgrind:
+ cd tests/check && make check-valgrind
+
+if HAVE_GST_CHECK
+check-torture:
+ cd tests/check && make torture
else
-EXAMPLES_DIR=
+check-torture:
+ true
endif
-SUBDIRS=gst-libs \
- gst sys $(EXT_DIR) \
- $(EXAMPLES_DIR) \
- tools \
- $(GCONF_DIR) \
- testsuite \
- po \
- common \
- m4 \
- pkgconfig
-
-DIST_SUBDIRS=ext gst-libs \
- gst sys \
- examples \
- tools \
- gconf \
- testsuite \
- po \
- common \
- m4 \
- pkgconfig
-
-EXTRA_DIST=gst-plugins.spec depcomp \
- AUTHORS COPYING COPYING.LIB NEWS README RELEASE REQUIREMENTS \
- ChangeLog autogen.sh
-
-DISTCLEANFILES=_stdint.h
+win32-update:
+ cp $(top_builddir)/win32/common/config.h-new \
+ $(top_builddir)/win32/common/config.h
-include $(top_srcdir)/common/release.mak
-# a rule to redownload po files
-download-po:
- cd po && for LI in `cat LINGUAS`; do echo Checking $$LI.po; wget -q -O $$LI.po.tmp http://www.iro.umontreal.ca/translation/maint/gst-plugins/$$LI.po; if ! diff $$LI.po $$LI.po.tmp > /dev/null 2>&1; then echo "Updating $$LI.po"; mv $$LI.po.tmp $$LI.po; else rm $$LI.po.tmp; fi; done
+include $(top_srcdir)/common/coverage/lcov.mak
+
+# cruft: plugins that have been merged or moved or renamed
+
+CRUFT_FILES = \
+ $(top_builddir)/common/shave \
+ $(top_builddir)/common/shave-libtool
+
+include $(top_srcdir)/common/cruft.mak
+
+all-local: check-cruft