configure: define version only in one place

S.P.T.: Single Point of Truth
This commit is contained in:
Andrés G. Aragoneses 2013-10-31 10:39:29 +01:00 committed by Stephan Sundermann
parent 474fd56615
commit d4361dd9c2
2 changed files with 3 additions and 2 deletions

1
VERSION Normal file
View file

@ -0,0 +1 @@
0.99.0

View file

@ -1,4 +1,4 @@
AC_INIT([gstreamer-sharp], [0.99.0])
AC_INIT([gstreamer-sharp], m4_esyscmd([tr -d '\n' < VERSION]))
AC_CONFIG_SRCDIR([README])
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
@ -7,6 +7,7 @@ AC_PROG_INSTALL
LT_INIT
dnl Package settings
ASSEMBLY_VERSION=`cat VERSION`
ASSEMBLY_COMPANY=""
ASSEMBLY_COPYRIGHT="2013 GStreamerSharp Contributors"
ASSEMBLY_DESCRIPTION="Gst-1.0 bindings for Mono"
@ -15,7 +16,6 @@ ASSEMBLY_NAMESPACE="Gst"
ASSEMBLY_PC="gstreamer-sharp-1.0"
ASSEMBLY_SHORTNAME="gstreamer"
ASSEMBLY_TITLE="Gst#"
ASSEMBLY_VERSION="0.99.0"
AC_SUBST([ACLOCAL_AMFLAGS], ["-I m4 \${ACLOCAL_FLAGS}"])
AC_SUBST(ASSEMBLY_NAME)