summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: c59421e3fc027ce29be595f7e9aa88e72a7f19af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
if BUILD_DOCS
# disabled until it actually works
# SUBDIRS_DOCS = docs
SUBDIRS_DOCS =
else
SUBDIRS_DOCS =
endif

if USE_GCONFTOOL
GCONF_DIR = gconf
else
GCONF_DIR =
endif

if BUILD_EXTERNAL
EXT_DIR = ext
else
EXT_DIR =
endif

if BUILD_EXAMPLES
EXAMPLES_DIR = examples
else
EXAMPLES_DIR =
endif

SUBDIRS = 			\
	gst-libs 		\
	gst sys $(EXT_DIR) 	\
	$(EXAMPLES_DIR) 	\
	tools 			\
	$(GCONF_DIR) 		\
	testsuite 		\
	po 			\
	common 			\
	m4 			\
	pkgconfig
# disabled
#	$(SUBDIRS_DOCS)

DIST_SUBDIRS = 			\
	gst-libs		\
	gst sys ext		\
	examples		\
	tools 			\
	gconf 			\
	testsuite 		\
	po 			\
	common 			\
	m4 			\
	pkgconfig

# disabled
#	docs

EXTRA_DIST = \
	gst-plugins.spec depcomp \
	AUTHORS COPYING COPYING.LIB NEWS README RELEASE REQUIREMENTS \
	ChangeLog autogen.sh

DISTCLEANFILES = _stdint.h

# check that no marshal or enumtypes files are included
# this in turn ensures that distcheck fails for missing .list files which is currently
# shadowed when the corresponding .c and .h files are included.
distcheck-hook:
	@test "x" = "x`find $(distdir) -name \*-enumtypes.[ch]`" && \
	test "x" = "x`find $(distdir) -name \*-marshal.[ch]`" || \
	( $(ECHO) "*** Leftover enumtypes or marshal files in the tarball." && \
          $(ECHO) "*** Make sure the following files are not disted:" && \
          find $(distdir) -name \*-enumtypes.[ch] && \
          find $(distdir) -name \*-marshal.[ch] && \
          false )

include $(top_srcdir)/common/release.mak
include $(top_srcdir)/common/po.mak