remove RELEASE
[platform/upstream/gstreamer.git] / Makefile.am
1 if USE_GCONFTOOL
2 GCONF_DIR=gconf
3 else
4 GCONF_DIR=
5 endif
6
7 if BUILD_EXTERNAL
8 EXT_DIR=ext
9 else
10 EXT_DIR=
11 endif
12
13 if BUILD_EXAMPLES
14 EXAMPLES_DIR=examples
15 else
16 EXAMPLES_DIR=
17 endif
18
19 SUBDIRS=gst-libs \
20         gst sys $(EXT_DIR) \
21         $(EXAMPLES_DIR) \
22         tools \
23         $(GCONF_DIR) \
24         testsuite \
25         po \
26         pkgconfig
27
28 DIST_SUBDIRS=ext gst-libs \
29         gst sys \
30         examples \
31         tools \
32         gconf \
33         testsuite \
34         po \
35         pkgconfig
36
37 EXTRA_DIST=gst-plugins.spec depcomp \
38            AUTHORS COPYING COPYING.LIB README REQUIREMENTS \
39            ChangeLog autogen.sh common m4
40
41 DISTCLEANFILES=_stdint.h
42
43 # to do a release, run "make release"
44 # this will generate all archives and md5sums
45                                                                                 
46 # make bz2 as well
47 AUTOMAKE_OPTIONS = dist-bzip2
48                                                                                 
49 release: dist
50         make @PACKAGE@-@VERSION@.tar.gz.md5
51         make @PACKAGE@-@VERSION@.tar.bz2.md5
52                                                                                 
53 # generate md5 sum files
54 %.md5: %
55         md5sum $< > $@
56                                                                                 
57
58 dist-hook:
59         rm -rf `find $(distdir)/common -name CVS`
60         rm -rf `find $(distdir)/m4 -name CVS`