From 378c15b872d6ed90a78c4b587acfc43c2d4761e7 Mon Sep 17 00:00:00 2001 From: Richard Boulton Date: Wed, 30 May 2001 14:39:06 +0000 Subject: [PATCH] Add configure.base and autogen.sh to distributions. Original commit message from CVS: Add configure.base and autogen.sh to distributions. Add rules to keep configure.in and configure.ac up-to-date. --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.am b/Makefile.am index 0291a3463a..2b1453085c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,6 +33,7 @@ man_MANS = gstreamer-config.1 EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 \ gstreamer.pc.in gstreamer-uninstalled.pc.in \ + configure.base autogen.sh \ LICENSE REQUIREMENTS ABOUT-NLS $(man_MANS) dist-hook: @@ -55,3 +56,10 @@ if PLUGINS_USE_SRCDIR @echo @/bin/false endif + +# Rules to generate autoconf scripts if configure.base is updated +$(top_srcdir)/configure.in: $(top_srcdir)/configure.base + sed <$(top_srcdir)/configure.base >$(top_srcdir)/configure.in '/^SUBSTFOR configure.ac:.*/d;s/^SUBSTFOR configure.in://g' +$(top_srcdir)/configure.ac: $(top_srcdir)/configure.base + sed <$(top_srcdir)/configure.base >$(top_srcdir)/configure.ac '/^SUBSTFOR configure.in:.*/d;s/^SUBSTFOR configure.ac://g' +