]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
makedist prerelease feature.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 16 Dec 2008 15:30:47 +0000 (15:30 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 16 Dec 2008 15:30:47 +0000 (15:30 +0000)
git-svn-id: file:///svn/unbound/trunk@1389 be551aaa-1e26-0410-a405-d3ace91eadb9

configure.ac
doc/Changelog
makedist.sh

index 71e72d66458c347bef4afcaaa861127cb1a1dd88..7594283308a04a250ae7b62f458302ed01ae426c 100644 (file)
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.56)
 
-AC_INIT(unbound,1.1.2, unbound-bugs@nlnetlabs.nl, unbound)
+AC_INIT(unbound, 1.1.2, unbound-bugs@nlnetlabs.nl, unbound)
 
 LIBUNBOUND_CURRENT=0
 LIBUNBOUND_REVISION=17
index 9266a3be09facb583bc8bd98e74c1ca035280659..4464db137b3c6969ba1e36592a983cd38f004c0d 100644 (file)
@@ -1,3 +1,6 @@
+16 December 2008: Wouter
+       - follow makedist improvements from ldns, for maintainers prereleases.
+
 11 December 2008: Wouter
        - better fix for bug #219: use LOG_NDELAY with openlog() call.
          Thanks to Tamas Tevesz.
index d1392a55c213affa0e31e25ab6d278ccdee9ba9e..f2198d58eea925a0830ef146daf17819ac5ee6a2 100755 (executable)
@@ -171,7 +171,7 @@ svn export "$SVNROOT" unbound || error_cleanup "SVN command failed"
 cd unbound || error_cleanup "Unbound not exported correctly from SVN"
 
 info "Adding libtool utils (libtoolize)."
-libtoolize -c || error_cleanup "libtoolize failed"
+libtoolize -c --install || libtoolize -c || error_cleanup "Libtoolize failed."
 
 info "Building configure script (autoreconf)."
 autoreconf || error_cleanup "Autoconf failed."
@@ -207,8 +207,14 @@ info "Unbound version: $version"
 
 if [ "$SNAPSHOT" = "yes" ]; then
     info "Building Unbound snapshot."
-    version="$version-`date +%Y%m%d`"
-    info "Snapshot version number: $version"
+    version2="$version-`date +%Y%m%d`"
+    info "Snapshot version number: $version2"
+
+    replace_text "configure.ac" "AC_INIT(unbound, $version" "AC_INIT(unbound, $version2"
+    version="$version2"
+
+    info "Rebuilding configure script (autoconf) snapshot."
+    autoreconf || error_cleanup "Autoconf failed."
 fi
 
 replace_all doc/README