projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2436040
)
Read version from IDMETA rather than configure.ac.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 15 Nov 2011 09:55:11 +0000
(10:55 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 15 Nov 2011 09:55:11 +0000
(10:55 +0100)
In other words, configure.ac gets its version from IDMETA.
IDMETA
patch
|
blob
|
history
configure.ac
patch
|
blob
|
history
diff --git
a/IDMETA
b/IDMETA
index
86664dc
..
1bb657f
100644
(file)
--- a/
IDMETA
+++ b/
IDMETA
@@
-1,2
+1,3
@@
DEBIAN_DIST="wheezy squeeze lenny"
UBUNTU_DIST="natty maverick lucid karmic"
+VERSION=1.3.15
diff --git
a/configure.ac
b/configure.ac
index
a89a570
..
d647aa8
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-3,7
+3,9
@@
# Autoconf and automake setup
AC_PREREQ([2.60])
-AC_INIT([metaproxy],[1.3.15],[metaproxy-help@indexdata.dk])
+AC_INIT([metaproxy],
+m4_esyscmd([. ./IDMETA; echo $VERSION|tr -d '\n']),
+[metaproxy-help@indexdata.dk])
AC_CONFIG_HEADERS([src/config.hpp])