diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-02-21 12:17:15 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-02-21 12:24:02 +0000 |
commit | fdb8fd5f3a6f8c53b8e81ad9b5d17b479f83c5a3 (patch) | |
tree | 18f026a4161ba72a894016836dd9aeba42a24ca8 | |
parent | 60968e5db5cc348e9ae4fba447d8c0fe3d0ec627 (diff) | |
download | bison-fdb8fd5f3a6f8c53b8e81ad9b5d17b479f83c5a3.tar.gz |
Add a quick hack to derive a version number from NEWS.
-rw-r--r-- | bison.morph | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bison.morph b/bison.morph index d61e8aa2..ff915360 100644 --- a/bison.morph +++ b/bison.morph @@ -3,6 +3,7 @@ "kind": "chunk", "configure-commands": [ "rm .git*", + "echo \"$(grep '* Changes in version' NEWS | grep -v '?\\.?' | head -n1 | cut -d' ' -f5)-123456\" > .tarball-version", "bash bootstrap --skip-po", "./configure --prefix=/usr --disable-nls" ], |