summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index 8cfc2c01..0c576c40 100755
--- a/bootstrap
+++ b/bootstrap
@@ -33,7 +33,7 @@ mkdir -p build-aux
if test -z "$REVISION"; then
if test -d .git; then
- REVISION=`git log | head -1 | awk '{print $2}' | cut -b 1-8`-git
+ REVISION=`git log --pretty="format:%h" | head -1`-git
else
# default to svn
REVISION=`\`which svn\` info . 2> /dev/null | awk "/Revision:/{print \\$2}"`
@@ -56,9 +56,11 @@ fi
aclocal -I m4
autoheader -f
-automake -f -c -a --gnits 2>&1 | sed -e "/install/d"
+automake -f -a 2>&1 | sed -e "/install/d"
autoconf -f
+ln -f -s "`dirname \`readlink build-aux/missing\``/INSTALL"
+
cat << EOF
You have bootstrapped Apache CouchDB, time to relax.