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.
This commit is contained in:
Richard Boulton 2001-05-30 14:39:06 +00:00
parent 53ca792d2f
commit 378c15b872

View file

@ -33,6 +33,7 @@ man_MANS = gstreamer-config.1
EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 \ EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 \
gstreamer.pc.in gstreamer-uninstalled.pc.in \ gstreamer.pc.in gstreamer-uninstalled.pc.in \
configure.base autogen.sh \
LICENSE REQUIREMENTS ABOUT-NLS $(man_MANS) LICENSE REQUIREMENTS ABOUT-NLS $(man_MANS)
dist-hook: dist-hook:
@ -55,3 +56,10 @@ if PLUGINS_USE_SRCDIR
@echo @echo
@/bin/false @/bin/false
endif 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'