projects
/
yazpp-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:
ad324c2
)
Read version from IDMETA rather than configure.ac.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 15 Nov 2011 09:22:33 +0000
(10:22 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 15 Nov 2011 09:22:33 +0000
(10:22 +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
..
02717bd
100644
(file)
--- a/
IDMETA
+++ b/
IDMETA
@@
-1,2
+1,3
@@
DEBIAN_DIST="wheezy squeeze lenny"
UBUNTU_DIST="natty maverick lucid karmic"
+VERSION=1.2.7
diff --git
a/configure.ac
b/configure.ac
index
42b00fe
..
e407427
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1,7
+1,9
@@
dnl This file is part of yazpp
dnl Copyright (C) 1998-2011 Index Data
AC_PREREQ(2.60)
-AC_INIT([yazpp],[1.2.7],[adam@indexdata.dk])
+AC_INIT([yazpp],
+m4_esyscmd([. ./IDMETA; echo $VERSION|tr -d '\n']),
+[adam@indexdata.dk])
AC_CONFIG_HEADERS([include/config.h])
AC_CONFIG_SRCDIR(configure.ac)
AC_CONFIG_AUX_DIR([config])