summaryrefslogtreecommitdiff
path: root/maketgz
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-07 02:11:21 +0000
committerYang Tse <yangsita@gmail.com>2008-07-07 02:11:21 +0000
commit371f63f73a6dced71160cb23c06c5f91d12fa871 (patch)
tree75e57df2def36bbff4cccdafb8dd5af7e65d6b80 /maketgz
parent13f4c3ea540622562b4789febc6881afb6ff3af5 (diff)
downloadc-ares-371f63f73a6dced71160cb23c06c5f91d12fa871.tar.gz
c-ares-371f63f73a6dced71160cb23c06c5f91d12fa871.tar.bz2
c-ares-371f63f73a6dced71160cb23c06c5f91d12fa871.zip
fix c-ares version reported in generated libcares.pc file when building
from CVS tree.
Diffstat (limited to 'maketgz')
-rwxr-xr-xmaketgz4
1 files changed, 3 insertions, 1 deletions
diff --git a/maketgz b/maketgz
index 7663dc0..923365c 100755
--- a/maketgz
+++ b/maketgz
@@ -38,7 +38,7 @@ if(!-f "configure") {
`./buildconf`;
}
print "adding $version in the configure.ac file\n";
-`sed -e 's/AC_INIT.*/AC_INIT([c-ares], [$version])/' < configure.ac > configure.ac.dist`;
+`sed -e 's/AC_INIT.*/AC_INIT([c-ares], [$version],/' < configure.ac > configure.ac.dist`;
# now make a new configure script with this
print "makes a new configure script\n";
@@ -54,5 +54,7 @@ print "running make dist\n";
print "removing temporary configure.ac file\n";
`rm configure.ac.dist`;
+print "removing temporary ares_version.h file\n";
+`rm ares_version.h.dist`;
print "NOTE: now cvs tag this release!\n";