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 SUBDIRS = include gst libs tools \
23 $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) $(SUBDIRS_DOCS)
25 # These are all the possible subdirs
26 DIST_SUBDIRS = include libs gst tools tests testsuite examples docs
28 gstreamer-@GST_MAJORMINOR@.pc: gstreamer.pc
29 cp gstreamer.pc gstreamer-@GST_MAJORMINOR@.pc
31 pkgconfigdir = $(libdir)/pkgconfig
32 pkgconfig_DATA = gstreamer-@GST_MAJORMINOR@.pc
34 EXTRA_DIST = gstreamer.spec.in \
35 gstreamer.pc.in gstreamer-uninstalled.pc.in \
36 configure.ac autogen.sh depcomp \
37 REQUIREMENTS ABOUT-NLS RELEASE DOCBUILDING DEVEL \
38 idiottest.mak common
40 dist-hook:
41 cp gstreamer.spec $(distdir)
42 rm -rf `find $(distdir)/common -name CVS`
44 rpm: dist
45 rpm -ta $(distdir).tar.gz
47 include $(top_srcdir)/idiottest.mak