Merged from INCSCHED on 200505251!!!
[platform/upstream/gstreamer.git] / Makefile.am
1 PACKAGE = @PACKAGE@
2 VERSION = @VERSION@
3
4 # if libglade is present, build the player and editor
5 if HAVE_LIBGLADE_GNOME
6 SUBDIRS_LGG = gstplay editor
7 else
8 SUBDIRS_LGG =
9 endif
10
11 if BUILD_DOCS
12 SUBDIRS_DOCS = docs
13 else
14 SUBDIRS_DOCS =
15 endif
16
17 SUBDIRS = include gst libs plugins tools test tests testsuite examples \
18 $(SUBDIRS_LGG) $(SUBDIRS_DOCS)
19
20 # These are all the possible subdirs
21 DIST_SUBDIRS = include gst libs plugins tools test tests testsuite examples gstplay editor docs debian
22
23
24 bin_SCRIPTS = gstreamer-config
25
26 m4datadir = $(datadir)/aclocal
27 m4data_DATA = gstreamer.m4
28
29 pkgconfigdir = $(libdir)/pkgconfig
30 pkgconfig_DATA = gstreamer.pc
31
32 man_MANS = gstreamer-config.1
33
34 EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 \
35              gstreamer.pc.in gstreamer-uninstall.pc.in \
36              LICENSE REQUIREMENTS ABOUT-NLS $(man_MANS)
37
38 dist-hook:
39         cp gstreamer.spec $(distdir)
40
41 rpm: dist
42         rpm -ta $(distdir).tar.gz