Some random ramblings about interactivity
[platform/upstream/gstreamer.git] / Makefile.am
1 PACKAGE = @PACKAGE@
2 VERSION = @VERSION@
3
4 if BUILD_DOCS
5 SUBDIRS_DOCS = docs
6 else
7 SUBDIRS_DOCS =
8 endif
9
10 if BUILD_TESTS
11 SUBDIRS_TESTS = tests testsuite
12 else
13 SUBDIRS_TESTS =
14 endif
15
16 if BUILD_EXAMPLES
17 SUBDIRS_EXAMPLES = examples
18 else
19 SUBDIRS_EXAMPLES =
20 endif
21
22 SUBDIRS = include gst libs tools \
23         $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) $(SUBDIRS_DOCS)
24
25 # These are all the possible subdirs
26 DIST_SUBDIRS = include libs gst tools tests testsuite examples docs
27
28 pkgconfigdir = $(libdir)/pkgconfig
29 pkgconfig_DATA = gstreamer.pc
30
31 EXTRA_DIST = gstreamer.spec.in \
32              gstreamer.pc.in gstreamer-uninstalled.pc.in \
33              configure.ac autogen.sh depcomp \
34              REQUIREMENTS ABOUT-NLS RELEASE DOCBUILDING DEVEL \
35              idiottest.mak common
36
37 dist-hook:
38         cp gstreamer.spec $(distdir)
39         rm -rf `find $(distdir)/common -name CVS`
40
41 rpm: dist
42         rpm -ta $(distdir).tar.gz
43
44 include $(top_srcdir)/idiottest.mak
45