From 00327271039b45b3c6d475ef1de177248294c5a5 Mon Sep 17 00:00:00 2001 From: Erik Walthinsen Date: Mon, 31 Jan 2000 09:43:08 +0000 Subject: [PATCH] More incremental updates. I can now successfully produce an rpm simply by typing `./autogen.sh;make rpm`. This is g... Original commit message from CVS: More incremental updates. I can now successfully produce an rpm simply by typing `./autogen.sh;make rpm`. This is good ;-) --- Makefile.am | 5 ++++- configure.in | 7 +++++-- editor/Makefile.am | 1 + gst/elements/Makefile.am | 4 +++- gst/types/Makefile.am | 4 +++- gst/xml/Makefile.am | 2 +- gstreamer.spec.in | 3 +-- plugins/elements/Makefile.am | 4 +++- test/bindings/Makefile.am | 5 ++--- test/cothreads/Makefile.am | 2 +- test/xml/Makefile.am | 2 +- 11 files changed, 25 insertions(+), 14 deletions(-) diff --git a/Makefile.am b/Makefile.am index 1f02564..c5d8582 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,7 +5,10 @@ bin_SCRIPTS = gstreamer-config m4datadir = $(datadir)/aclocal m4data_DATA = gstreamer.m4 -EXTRA_DIST = gstreamer.spec.in gstreamer-config.in +EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 + +dist-hook: + cp gstreamer.spec $(distdir) rpm: dist rpm -ta $(distdir).tar.gz diff --git a/configure.in b/configure.in index cbd0283..06716f4 100644 --- a/configure.in +++ b/configure.in @@ -77,7 +77,7 @@ AC_CHECK_HEADER(xaudio/decoder.h,[ ]) AM_CONDITIONAL(HAVE_XAUDIO, test "x$HAVE_XAUDIO" = "xyes") -PLUGINS_DIR=${libdir}/plugins +PLUGINS_DIR=${prefix}/lib/gst AC_DEFINE_UNQUOTED(PLUGINS_DIR,"$PLUGINS_DIR") AC_SUBST(PLUGINS_DIR) @@ -163,4 +163,7 @@ test/cothreads/Makefile editor/Makefile tools/Makefile docs/Makefile -stamp.h]) +stamp.h +gstreamer-config +gstreamer.spec]) +AC_OUTPUT_COMMANDS([chmod +x gstreamer-config]) diff --git a/editor/Makefile.am b/editor/Makefile.am index d9bbade..767be10 100644 --- a/editor/Makefile.am +++ b/editor/Makefile.am @@ -22,6 +22,7 @@ libgsteditorinclude_HEADERS = \ bin_PROGRAMS = gsteditor +gsteditor_SOURCES = editor.c gsteditor_LDFLAGS = libgsteditor.la diff --git a/gst/elements/Makefile.am b/gst/elements/Makefile.am index 346ae7f..7aa7bf3 100644 --- a/gst/elements/Makefile.am +++ b/gst/elements/Makefile.am @@ -1,4 +1,6 @@ -lib_LTLIBRARIES = libgstelements.la +filterdir = $(libdir)/gst + +filter_LTLIBRARIES = libgstelements.la libgstelements_la_DEPENDENCIES = ../libgst.la libgstelements_la_SOURCES = \ diff --git a/gst/types/Makefile.am b/gst/types/Makefile.am index 7c9a9d3..3792906 100644 --- a/gst/types/Makefile.am +++ b/gst/types/Makefile.am @@ -1,4 +1,6 @@ -lib_LTLIBRARIES = libgsttypes.la +filterdir = $(libdir)/gst + +filter_LTLIBRARIES = libgsttypes.la libgsttypes_la_DEPENDENCIES = ../libgst.la libgsttypes_la_SOURCES = \ diff --git a/gst/xml/Makefile.am b/gst/xml/Makefile.am index bff3857..3041022 100644 --- a/gst/xml/Makefile.am +++ b/gst/xml/Makefile.am @@ -1,4 +1,4 @@ -bin_PROGRAMS = save +noinst_PROGRAMS = save INCLUDES = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(XML_CFLAGS) -I$(top_srcdir) LDADD = $(GLIB_LIBS) $(GTK_LIBS) $(XML_LIBS) $(top_srcdir)/gst/libgst.la diff --git a/gstreamer.spec.in b/gstreamer.spec.in index 41599f3..0011979 100644 --- a/gstreamer.spec.in +++ b/gstreamer.spec.in @@ -56,5 +56,4 @@ make prefix=$RPM_BUILD_ROOT%{prefix} install %{prefix}/bin/* %{prefix}/lib/* -%{prefix}/lib/gst/* -%{prefix}/include/gst/* +%{prefix}/include/* diff --git a/plugins/elements/Makefile.am b/plugins/elements/Makefile.am index 346ae7f..7aa7bf3 100644 --- a/plugins/elements/Makefile.am +++ b/plugins/elements/Makefile.am @@ -1,4 +1,6 @@ -lib_LTLIBRARIES = libgstelements.la +filterdir = $(libdir)/gst + +filter_LTLIBRARIES = libgstelements.la libgstelements_la_DEPENDENCIES = ../libgst.la libgstelements_la_SOURCES = \ diff --git a/test/bindings/Makefile.am b/test/bindings/Makefile.am index 1f74861..a9e385d 100644 --- a/test/bindings/Makefile.am +++ b/test/bindings/Makefile.am @@ -1,4 +1,4 @@ -lib_LTLIBRARIES = libcrashtest.la +noinst_LTLIBRARIES = libcrashtest.la libcrashtest_la_SOURCES = \ dummy.c @@ -6,6 +6,5 @@ libcrashtest_la_SOURCES = \ include_HEADERS = \ dummy.h -bin_PROGRAMS = test - +noinst_PROGRAMS = test test_LDADD = libcrashtest.la diff --git a/test/cothreads/Makefile.am b/test/cothreads/Makefile.am index 6ba1bb8..aa2034c 100644 --- a/test/cothreads/Makefile.am +++ b/test/cothreads/Makefile.am @@ -1,4 +1,4 @@ -bin_PROGRAMS = test simple +noinst_PROGRAMS = test simple test_SOURCES = test.c cothreads.c object.c looper.c diff --git a/test/xml/Makefile.am b/test/xml/Makefile.am index dcac2c1..d94ec5f 100644 --- a/test/xml/Makefile.am +++ b/test/xml/Makefile.am @@ -1,4 +1,4 @@ -bin_PROGRAMS = readreg createreg +noinst_PROGRAMS = readreg createreg INCLUDES = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(XML_CFLAGS) -I$(top_srcdir) LDADD = $(GLIB_LIBS) $(GTK_LIBS) $(XML_LIBS) $(top_srcdir)/gst/libgst.la -- 2.7.4