summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2004-06-24 01:43:54 +0000
committerBenjamin Otte <otte@gnome.org>2004-06-24 01:43:54 +0000
commit814688a52b6b72ab9dfa1b48b76e835fb93c8ce1 (patch)
tree33055145b932bbf677872c413b19ec0ecc6753bf
parentbefab00bf32b53c39871e017ca9985e2a9844c5f (diff)
don't include -enumtypes.[ch] or -marshal.[ch] files in the disted tarball.
Original commit message from CVS: * gst-libs/gst/colorbalance/Makefile.am: * gst-libs/gst/mixer/Makefile.am: * gst-libs/gst/play/Makefile.am: * gst-libs/gst/tuner/Makefile.am: * gst/tcp/Makefile.am: * sys/dxr3/Makefile.am: don't include -enumtypes.[ch] or -marshal.[ch] files in the disted tarball. Also add all *.list files that were missing. * Makefile.am: add a distcheck hook to ensure the above doesn't happen again.
-rw-r--r--ChangeLog14
-rw-r--r--Makefile.am8
-rw-r--r--gst-libs/gst/colorbalance/Makefile.am5
-rw-r--r--gst-libs/gst/mixer/Makefile.am8
-rw-r--r--gst-libs/gst/play/Makefile.am5
-rw-r--r--gst-libs/gst/tuner/Makefile.am6
-rw-r--r--gst/tcp/Makefile.am8
7 files changed, 45 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 44ed1d29..0a9456a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2004-06-24 Benjamin Otte <otte@gnome.org>
+
+ * gst-libs/gst/colorbalance/Makefile.am:
+ * gst-libs/gst/mixer/Makefile.am:
+ * gst-libs/gst/play/Makefile.am:
+ * gst-libs/gst/tuner/Makefile.am:
+ * gst/tcp/Makefile.am:
+ * sys/dxr3/Makefile.am:
+ don't include -enumtypes.[ch] or -marshal.[ch] files in the disted
+ tarball.
+ Also add all *.list files that were missing.
+ * Makefile.am:
+ add a distcheck hook to ensure the above doesn't happen again.
+
2004-06-23 David I. Lehn <dlehn@users.sourceforge.net>
* ext/Makefile.am: s/DTS_DIR=dvdread/DTS_DIR=dts/
diff --git a/Makefile.am b/Makefile.am
index 258a79c8..d773bc68 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,5 +44,13 @@ EXTRA_DIST=gst-plugins.spec depcomp \
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) "*** Still leftover enumtypes or marshal files in the tarball. Please make sure those are not disted." && false )
+
include $(top_srcdir)/common/release.mak
include $(top_srcdir)/common/po.mak
diff --git a/gst-libs/gst/colorbalance/Makefile.am b/gst-libs/gst/colorbalance/Makefile.am
index a410ad32..e7cf3d8c 100644
--- a/gst-libs/gst/colorbalance/Makefile.am
+++ b/gst-libs/gst/colorbalance/Makefile.am
@@ -18,7 +18,9 @@ built_headers = \
colorbalance-marshal.h \
colorbalance-enumtypes.h
-libgstcolorbalanceinclude_HEADERS = $(colorbalance_headers) \
+libgstcolorbalanceinclude_HEADERS = $(colorbalance_headers)
+
+nodist_libgstcolorbalanceinclude_HEADERS = \
colorbalance-enumtypes.h
noinst_LTLIBRARIES = libgstcolorbalance.la
@@ -26,6 +28,7 @@ noinst_LTLIBRARIES = libgstcolorbalance.la
libgstcolorbalance_la_SOURCES = \
colorbalance.c \
colorbalancechannel.c
+
nodist_libgstcolorbalance_la_SOURCES = \
$(built_sources) \
colorbalance-marshal.h
diff --git a/gst-libs/gst/mixer/Makefile.am b/gst-libs/gst/mixer/Makefile.am
index e556ab0e..e5abf687 100644
--- a/gst-libs/gst/mixer/Makefile.am
+++ b/gst-libs/gst/mixer/Makefile.am
@@ -21,8 +21,11 @@ built_headers = \
mixer-enumtypes.h
libgstmixerinclude_HEADERS = \
- $(mixer_headers) \
- mixer-enumtypes.h
+ $(mixer_headers)
+
+# FIXME 0.9: don't include marshal files
+nodist_libgstmixerinclude_HEADERS = \
+ $(built_headers)
noinst_LTLIBRARIES = libgstmixer.la
@@ -32,7 +35,6 @@ libgstmixer_la_SOURCES = \
mixertrack.c
nodist_libgstmixer_la_SOURCES = \
- mixer-marshal.h \
$(built_sources)
libgstmixer_la_CFLAGS = $(GST_CFLAGS)
diff --git a/gst-libs/gst/play/Makefile.am b/gst-libs/gst/play/Makefile.am
index ad2ca458..ef17d461 100644
--- a/gst-libs/gst/play/Makefile.am
+++ b/gst-libs/gst/play/Makefile.am
@@ -13,10 +13,11 @@ built_headers = \
library_LTLIBRARIES = libgstplay-@GST_MAJORMINOR@.la
-libgstplay_@GST_MAJORMINOR@_la_SOURCES = play.c play-enumtypes.c
+libgstplay_@GST_MAJORMINOR@_la_SOURCES = play.c
+nodist_libgstplay_@GST_MAJORMINOR@_la_SOURCES = play-enumtypes.c
libgstplay_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/play
-libgstplay_@GST_MAJORMINOR@include_HEADERS = $(play_headers) $(built_headers)
+libgstplay_@GST_MAJORMINOR@include_HEADERS = $(play_headers)
libgstplay_@GST_MAJORMINOR@_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_CFLAGS)
libgstplay_@GST_MAJORMINOR@_la_LIBADD = \
diff --git a/gst-libs/gst/tuner/Makefile.am b/gst-libs/gst/tuner/Makefile.am
index c5c4e5e4..804e33db 100644
--- a/gst-libs/gst/tuner/Makefile.am
+++ b/gst-libs/gst/tuner/Makefile.am
@@ -20,7 +20,10 @@ built_headers = \
tuner-enumtypes.h
libgsttunerinclude_HEADERS = \
- $(tuner_headers) \
+ $(tuner_headers)
+
+# FIXME 0.9: don't install
+nodist_libgsttunerinclude_HEADERS = \
tuner-enumtypes.h
noinst_LTLIBRARIES = libgsttuner.la
@@ -29,6 +32,7 @@ libgsttuner_la_SOURCES = \
tuner.c \
tunernorm.c \
tunerchannel.c
+
nodist_libgsttuner_la_SOURCES = \
$(built_sources) \
tuner-marshal.h
diff --git a/gst/tcp/Makefile.am b/gst/tcp/Makefile.am
index cd4736ad..98b8ca75 100644
--- a/gst/tcp/Makefile.am
+++ b/gst/tcp/Makefile.am
@@ -15,18 +15,19 @@ BUILT_SOURCES = $(built_sources) $(built_headers)
libgsttcp_la_SOURCES = \
gsttcpplugin.c \
gsttcpsrc.c gsttcpsink.c \
- $(built_sources) \
gsttcp.c \
gsttcpclientsrc.c gsttcpclientsink.c \
gsttcpserversrc.c gsttcpserversink.c
+nodist_libgsttcp_la_SOURCES = \
+ $(built_sources)
+
# remove ENABLE_NEW when dataprotocol is stable
libgsttcp_la_CFLAGS = $(GST_CFLAGS) -DGST_ENABLE_NEW
libgsttcp_la_LIBADD =
libgsttcp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = \
- $(built_headers) \
gsttcpplugin.h \
gsttcpsrc.h gsttcpsink.h \
gsttcp.h \
@@ -34,3 +35,6 @@ noinst_HEADERS = \
gsttcpserversrc.h gsttcpserversink.h
CLEANFILES = $(BUILT_SOURCES)
+
+EXTRA_DIST = gsttcp-marshal.list
+