More incremental updates. I can now successfully produce an rpm simply by typing...
authorErik Walthinsen <omega@temple-baptist.org>
Mon, 31 Jan 2000 09:43:08 +0000 (09:43 +0000)
committerErik Walthinsen <omega@temple-baptist.org>
Mon, 31 Jan 2000 09:43:08 +0000 (09:43 +0000)
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
configure.in
editor/Makefile.am
gst/elements/Makefile.am
gst/types/Makefile.am
gst/xml/Makefile.am
gstreamer.spec.in
plugins/elements/Makefile.am
test/bindings/Makefile.am
test/cothreads/Makefile.am
test/xml/Makefile.am

index 1f02564..c5d8582 100644 (file)
@@ -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
index cbd0283..06716f4 100644 (file)
@@ -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])
index d9bbade..767be10 100644 (file)
@@ -22,6 +22,7 @@ libgsteditorinclude_HEADERS = \
 
 
 bin_PROGRAMS = gsteditor
+gsteditor_SOURCES = editor.c
 gsteditor_LDFLAGS = libgsteditor.la
 
 
index 346ae7f..7aa7bf3 100644 (file)
@@ -1,4 +1,6 @@
-lib_LTLIBRARIES = libgstelements.la
+filterdir = $(libdir)/gst
+
+filter_LTLIBRARIES = libgstelements.la
 
 libgstelements_la_DEPENDENCIES = ../libgst.la
 libgstelements_la_SOURCES =    \
index 7c9a9d3..3792906 100644 (file)
@@ -1,4 +1,6 @@
-lib_LTLIBRARIES = libgsttypes.la
+filterdir = $(libdir)/gst
+
+filter_LTLIBRARIES = libgsttypes.la
 
 libgsttypes_la_DEPENDENCIES = ../libgst.la
 libgsttypes_la_SOURCES =       \
index bff3857..3041022 100644 (file)
@@ -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
index 41599f3..0011979 100644 (file)
@@ -56,5 +56,4 @@ make prefix=$RPM_BUILD_ROOT%{prefix} install
 
 %{prefix}/bin/*
 %{prefix}/lib/*
-%{prefix}/lib/gst/*
-%{prefix}/include/gst/*
+%{prefix}/include/*
index 346ae7f..7aa7bf3 100644 (file)
@@ -1,4 +1,6 @@
-lib_LTLIBRARIES = libgstelements.la
+filterdir = $(libdir)/gst
+
+filter_LTLIBRARIES = libgstelements.la
 
 libgstelements_la_DEPENDENCIES = ../libgst.la
 libgstelements_la_SOURCES =    \
index 1f74861..a9e385d 100644 (file)
@@ -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
index 6ba1bb8..aa2034c 100644 (file)
@@ -1,4 +1,4 @@
-bin_PROGRAMS = test simple
+noinst_PROGRAMS = test simple
 
 test_SOURCES = test.c cothreads.c object.c looper.c
 
index dcac2c1..d94ec5f 100644 (file)
@@ -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