added configure option to turn on building of docs, else they aren't built
[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 examples \
18 $(SUBDIRS_LGG) $(SUBDIRS_DOCS)
19
20 # These are all the possible subdirs
21 DIST_SUBDIRS = include gst libs plugins tools test tests examples gstplay editor docs
22
23
24 bin_SCRIPTS = gstreamer-config
25
26 m4datadir = $(datadir)/aclocal
27 m4data_DATA = gstreamer.m4
28
29 EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 LICENSE REQUIREMENTS ABOUT-NLS
30
31 dist-hook:
32         cp gstreamer.spec $(distdir)
33
34 rpm: dist
35         rpm -ta $(distdir).tar.gz