Last active
January 17, 2018 19:23
-
-
Save theeternalsw0rd/ba0d1520257c8781d61a423f7bf16be7 to your computer and use it in GitHub Desktop.
Guile head should not have version from release tarball
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/GUILE-VERSION b/GUILE-VERSION | |
index a44c254fb..0db8a3b45 100644 | |
--- a/GUILE-VERSION | |
+++ b/GUILE-VERSION | |
@@ -1,8 +1,8 @@ | |
# -*-shell-script-*- | |
# Note: `GUILE_VERSION' is defined in `configure.ac' using `git-version-gen'. | |
-GUILE_MAJOR_VERSION=2 | |
-GUILE_MINOR_VERSION=3 | |
+GUILE_MAJOR_VERSION=3 | |
+GUILE_MINOR_VERSION=0 | |
GUILE_MICRO_VERSION=0 | |
GUILE_EFFECTIVE_VERSION=3.0 | |
diff --git a/configure.ac b/configure.ac | |
index 374b4297a..23d2c9b9f 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -29,7 +29,7 @@ Floor, Boston, MA 02110-1301, USA. | |
AC_PREREQ(2.61) | |
AC_INIT([GNU Guile], | |
- m4_esyscmd([build-aux/git-version-gen --match v2.\[12\].\* .tarball-version]), | |
+ m4_esyscmd([cat GUILE-VERSION | head -n 6 | tr "\n" ' ' | sed 's/^\([^.]*\.\)*\ //' | sed 's/[^0-9 ]*//g' | sed 's/ $//' | sed 's/ /./g' | tr -d '\n']), | |
[[email protected]]) | |
AC_CONFIG_AUX_DIR([build-aux]) | |
AC_CONFIG_MACRO_DIR([m4]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment