diff options
author | Nicolas Williams <nico@cryptonector.com> | 2013-12-31 17:15:44 -0600 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2013-12-31 17:19:40 -0600 |
commit | 99f170adc368fcbf3f1f2226660543aa7974f054 (patch) | |
tree | de898cb49aee13e8ddd2c001e6f92dde94650aa3 /configure.ac | |
parent | f60d83c15fe36c2a8141813d4657bb6299f0b96e (diff) |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 2f777af4..7e1e08fc 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,6 @@ -AC_INIT([jq], [1.3], [mu@netsoc.tcd.ie], +m4_define([jq_version], m4_esyscmd_s([git describe --always --dirty --match 'jq-*'|sed 's/^jq-//'])) + +AC_INIT([jq], [jq_version], [mu@netsoc.tcd.ie], [jq], [http://stedolan.github.com/jq/]) dnl Created autoconf implementation thompson@dtosolutions, 26NOV12 |