disable docs again until it passes make distcheck
[platform/upstream/gst-plugins-good.git] / Makefile.am
1 if BUILD_DOCS
2 # disabled until it actually works
3 # SUBDIRS_DOCS = docs
4 SUBDIRS_DOCS =
5 else
6 SUBDIRS_DOCS =
7 endif
8
9 if USE_GCONFTOOL
10 GCONF_DIR = gconf
11 else
12 GCONF_DIR =
13 endif
14
15 if BUILD_EXTERNAL
16 EXT_DIR = ext
17 else
18 EXT_DIR =
19 endif
20
21 if BUILD_EXAMPLES
22 EXAMPLES_DIR = examples
23 else
24 EXAMPLES_DIR =
25 endif
26
27 SUBDIRS =                       \
28         gst-libs                \
29         gst sys $(EXT_DIR)      \
30         $(EXAMPLES_DIR)         \
31         tools                   \
32         $(GCONF_DIR)            \
33         testsuite               \
34         po                      \
35         common                  \
36         m4                      \
37         pkgconfig
38 # disabled
39 #       $(SUBDIRS_DOCS)
40
41 DIST_SUBDIRS =                  \
42         gst-libs                \
43         gst sys ext             \
44         examples                \
45         tools                   \
46         gconf                   \
47         testsuite               \
48         po                      \
49         common                  \
50         m4                      \
51         pkgconfig
52
53 # disabled
54 #       docs
55
56 EXTRA_DIST = \
57         gst-plugins.spec depcomp \
58         AUTHORS COPYING COPYING.LIB NEWS README RELEASE REQUIREMENTS \
59         ChangeLog autogen.sh
60
61 DISTCLEANFILES = _stdint.h
62
63 # check that no marshal or enumtypes files are included
64 # this in turn ensures that distcheck fails for missing .list files which is currently
65 # shadowed when the corresponding .c and .h files are included.
66 distcheck-hook:
67         @test "x" = "x`find $(distdir) -name \*-enumtypes.[ch]`" && \
68         test "x" = "x`find $(distdir) -name \*-marshal.[ch]`" || \
69         ( $(ECHO) "*** Leftover enumtypes or marshal files in the tarball." && \
70           $(ECHO) "*** Make sure the following files are not disted:" && \
71           find $(distdir) -name \*-enumtypes.[ch] && \
72           find $(distdir) -name \*-marshal.[ch] && \
73           false )
74
75 include $(top_srcdir)/common/release.mak
76 include $(top_srcdir)/common/po.mak