Fix version for make dist on master

- Re-remove VERSION file and all traces of it
 - Pass a decent version indicator to AC_INIT (using git describe)

When we tag 1.4 this will produce 1.4 as the version string when
building on the HEAD of that tag.
This commit is contained in:
Nicolas Williams committed 2013-12-31 17:19:40 -06:00
1 parent f60d83c15f
commit 99f170adc3
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ if [ "clean" == "$1" ]; then
rm -f jv_utf8_tables.gen.h lexer.c lexer.h parser.c parser.h
elif [ "superclean" == "$1" ]; then
# if autoconf errors during distcheck, it leaves files that need chmod'ing
ver=$(tr -d '\n' <VERSION)
ver=$(scripts/version|tr -d '\n')
if [ "x${ver}" != "x" ]; then
if [ -d jq-${ver} ]; then
chmod -R u+w jq-${ver}