Makefile.am 1.14 KB
Newer Older
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
1
if USE_GCONFTOOL
2 3 4 5
GCONF_DIR=gconf
else
GCONF_DIR=
endif
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
6

7 8 9 10 11 12
if BUILD_EXTERNAL
EXT_DIR=ext
else
EXT_DIR=
endif

13 14 15 16 17 18
if BUILD_EXAMPLES
EXAMPLES_DIR=examples
else
EXAMPLES_DIR=
endif

19 20 21 22
SUBDIRS=\
	gst-libs \
	gst sys $(EXT_DIR) \
	$(EXAMPLES_DIR) tools $(GCONF_DIR) testsuite pkgconfig
23

24
DIST_SUBDIRS=gst-libs gst sys ext examples tools gconf testsuite pkgconfig
25

Ronald S. Bultje's avatar
Ronald S. Bultje committed
26
EXTRA_DIST=gst-plugins.spec depcomp \
27
	   AUTHORS COPYING README RELEASE REQUIREMENTS \
David I. Lehn's avatar
David I. Lehn committed
28 29
	   ChangeLog autogen.sh common m4

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
30 31 32 33 34 35 36 37 38 39 40 41 42 43
# to do a release, run "make release"
# this will generate all archives and md5sums
                                                                                
# make bz2 as well
AUTOMAKE_OPTIONS = dist-bzip2
                                                                                
release: dist
	make @PACKAGE@-@VERSION@.tar.gz.md5
	make @PACKAGE@-@VERSION@.tar.bz2.md5
                                                                                
# generate md5 sum files
%.md5: %
	md5sum $< > $@
                                                                                
David I. Lehn's avatar
David I. Lehn committed
44 45 46
dist-hook:
	rm -rf `find $(distdir)/common -name CVS`
	rm -rf `find $(distdir)/m4 -name CVS`