1 PACKAGE = @PACKAGE@
2 VERSION = @VERSION@
4 if BUILD_DOCS
5 SUBDIRS_DOCS = docs
6 else
7 SUBDIRS_DOCS =
8 endif
10 if BUILD_TESTS
11 SUBDIRS_TESTS = tests testsuite
12 else
13 SUBDIRS_TESTS =
14 endif
16 if BUILD_EXAMPLES
17 SUBDIRS_EXAMPLES = examples
18 else
19 SUBDIRS_EXAMPLES =
20 endif
22 all-local: gst-element-check-@GST_MAJORMINOR@.m4
24 gst-element-check-@GST_MAJORMINOR@.m4: gst-element-check.m4
25 cp $(srcdir)/gst-element-check.m4 gst-element-check-@GST_MAJORMINOR@.m4
27 aclocaldir = $(datadir)/aclocal
28 aclocal_DATA = gst-element-check-@GST_MAJORMINOR@.m4
30 SUBDIRS = include gst libs tools \
31 $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) $(SUBDIRS_DOCS) \
32 pkgconfig po
34 # These are all the possible subdirs
35 DIST_SUBDIRS = include libs gst \
36 tools \
37 tests testsuite \
38 examples \
39 docs \
40 pkgconfig
42 EXTRA_DIST = gstreamer.spec.in gst-element-check.m4 \
43 configure.ac autogen.sh depcomp \
44 REQUIREMENTS ABOUT-NLS RELEASE DOCBUILDING DEVEL \
45 idiottest.mak common po/Makefile.in.in po/POTFILES.in po/de.po
47 dist-hook:
48 cp gstreamer.spec $(distdir)
49 rm -rf `find $(distdir)/common -name CVS`
51 rpm: dist
52 rpm -ta $(distdir).tar.gz
54 include $(top_srcdir)/idiottest.mak