DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc

if USE_GCONFTOOL
GCONF_DIR = gconf
else
GCONF_DIR =
endif

ALWAYS_SUBDIRS =		\
	gst sys ext 		\
	tests			\
	docs			\
	po			\
	common			\
	m4			\
	pkgconfig

SUBDIRS = 			\
	$(ALWAYS_SUBDIRS)	\
	$(GCONF_DIR)

DIST_SUBDIRS = 			\
	$(ALWAYS_SUBDIRS)	\
	gconf


win32 = $(shell cat $(top_srcdir)/win32/MANIFEST)

debug:
	echo $(win32)

EXTRA_DIST = \
	gst-plugins-good.spec depcomp \
	AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
	ChangeLog gst-plugins-good.doap autogen.sh \
	$(win32)

DISTCLEANFILES = _stdint.h

noinst_HEADERS = \
	gst-libs/gst/gettext.h \
	gst-libs/gst/gst-i18n-plugin.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

check-torture:
	cd tests/check && make torture