diff options
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | extras/MonoDevelop.Database/configure.in | 2 | ||||
-rw-r--r-- | main/configure.in | 6 |
3 files changed, 6 insertions, 6 deletions
@@ -181,8 +181,8 @@ configure_packages () create_local_config () { # Get the version from the version.txt file, if it exists - if test -a $path/version.txt; then - ver=`grep ^Version $path/version.txt|cut -d '=' -f 2|tr -d '\n'` + if test -a version.txt; then + ver=`grep ^Version version.txt|cut -d '=' -f 2|tr -d '\n'` else ver=VERSION fi diff --git a/extras/MonoDevelop.Database/configure.in b/extras/MonoDevelop.Database/configure.in index 0e46dd8371..740c09765e 100644 --- a/extras/MonoDevelop.Database/configure.in +++ b/extras/MonoDevelop.Database/configure.in @@ -1,4 +1,4 @@ -AC_INIT([monodevelop-database], m4_esyscmd_s([grep ^Version ../../main/version.txt|cut -d '=' -f 2|tr -d '\n']), [monodevelop-list@lists.ximian.com]) +AC_INIT([monodevelop-database], m4_esyscmd_s([grep ^Version ../../version.txt|cut -d '=' -f 2|tr -d '\n']), [monodevelop-list@lists.ximian.com]) AC_PREREQ(2.53) AM_INIT_AUTOMAKE([1.9 tar-ustar]) AM_MAINTAINER_MODE diff --git a/main/configure.in b/main/configure.in index 7ca916394c..2f76068b73 100644 --- a/main/configure.in +++ b/main/configure.in @@ -1,4 +1,4 @@ -AC_INIT([monodevelop], m4_esyscmd_s([grep ^Version version.txt|cut -d '=' -f 2|tr -d '\n']), [monodevelop-list@lists.ximian.com]) +AC_INIT([monodevelop], m4_esyscmd_s([grep ^Version ../version.txt|cut -d '=' -f 2|tr -d '\n']), [monodevelop-list@lists.ximian.com]) AC_PREREQ(2.53) AM_INIT_AUTOMAKE([1.10 tar-ustar]) AM_MAINTAINER_MODE @@ -12,9 +12,9 @@ ASSEMBLY_VERSION=4.0.0.0 # the C# side of things. It should be one of the following two formats: # 1) "VERSION_NUMBER" "2.0" # 2) "VERSION_NUMBER BUILD_TYPE BUILD_NUMBER" "2.0 Alpha 1" -PACKAGE_VERSION_LABEL="m4_esyscmd_s([grep ^Label version.txt|cut -d "=" -f 2|tr -d '\n'])" +PACKAGE_VERSION_LABEL="m4_esyscmd_s([grep ^Label ../version.txt|cut -d "=" -f 2|tr -d '\n'])" -COMPAT_ADDIN_VERSION=m4_esyscmd_s([grep ^CompatVersion version.txt|cut -d "=" -f 2|tr -d '\n']) +COMPAT_ADDIN_VERSION=m4_esyscmd_s([grep ^CompatVersion ../version.txt|cut -d "=" -f 2|tr -d '\n']) AC_PATH_PROG(MONO, mono) AC_PATH_PROG(MCS, gmcs) |