summaryrefslogtreecommitdiffabout
path: root/autogen.bash
authorMichael Krelin <hacker@klever.net>2013-01-26 12:00:37 (UTC)
committer Michael Krelin <hacker@klever.net>2013-01-26 12:00:37 (UTC)
commit98b8a37be835d50b71416acd6d285e1eb525b2a1 (patch) (side-by-side diff)
tree45e2ff2f2fa08c266de70f35b1c2b41326150cc4 /autogen.bash
parent6242fdc322cecae7e9d71b390f91ef9dc8f1a162 (diff)
downloadiii-98b8a37be835d50b71416acd6d285e1eb525b2a1.zip
iii-98b8a37be835d50b71416acd6d285e1eb525b2a1.tar.gz
iii-98b8a37be835d50b71416acd6d285e1eb525b2a1.tar.bz2
slightly reworked autotools
introduced aux.d directory and prettified and improved autogen.bash to run from the build directory in case it differs from source. Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'autogen.bash') (more/less context) (show whitespace changes)
-rw-r--r--autogen.bash9
1 files changed, 9 insertions, 0 deletions
diff --git a/autogen.bash b/autogen.bash
new file mode 100644
index 0000000..a798fad
--- a/dev/null
+++ b/autogen.bash
@@ -0,0 +1,9 @@
+#!/bin/bash
+( cd "$(dirname "$0")" \
+&& mkdir -p aux.d \
+&& aclocal \
+&& autoheader \
+&& automake -a \
+&& autoconf \
+&& "$(dirname "$0")"/configure "$@" \
+)