aboutsummaryrefslogtreecommitdiff
path: root/contrib/notmuch-deliver/autogen.sh
diff options
context:
space:
mode:
authorAli Polatel <alip@exherbo.org>2010-05-26 10:09:47 +0300
committerAli Polatel <alip@exherbo.org>2011-11-05 01:12:34 +0200
commitaf863f8c7f1f1571df4f1172ec4e963fa654945e (patch)
tree518717c794680a0e136b112f4cc8121f689dca69 /contrib/notmuch-deliver/autogen.sh
parent6a280088e6769015ade7758b9790384997a21ff3 (diff)
notmuch-deliver: Initial import
Diffstat (limited to 'contrib/notmuch-deliver/autogen.sh')
-rwxr-xr-xcontrib/notmuch-deliver/autogen.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/notmuch-deliver/autogen.sh b/contrib/notmuch-deliver/autogen.sh
new file mode 100755
index 0000000..2c660bc
--- /dev/null
+++ b/contrib/notmuch-deliver/autogen.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+# vim: set sw=4 et sts=4 tw=80 :
+
+die() {
+ echo "$@" >&2
+ exit 1
+}
+
+echo ">>> libtoolize --copy --force --automake"
+libtoolize --copy --force --automake || die "libtoolize failed"
+echo ">>> rm -f config.cache"
+rm -f config.cache
+echo ">>> aclocal -I m4"
+aclocal -I m4 || die "aclocal failed"
+echo ">>> autoheader"
+autoheader || die "autoheader failed"
+echo ">>> autoconf"
+autoconf || die "autoconf failed"
+echo ">>> automake --foreign --add-missing --copy"
+automake --foreign --add-missing --copy || die "automake failed"