mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
579c498f99
Original commit message from CVS: really fix dist
71 lines
1.4 KiB
Makefile
71 lines
1.4 KiB
Makefile
if BUILD_DOCS
|
|
SUBDIRS_DOCS = 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 \
|
|
$(SUBDIRS_DOCS)
|
|
|
|
DIST_SUBDIRS = \
|
|
gst-libs \
|
|
gst sys ext \
|
|
examples \
|
|
tools \
|
|
gconf \
|
|
testsuite \
|
|
po \
|
|
common \
|
|
m4 \
|
|
pkgconfig \
|
|
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
|