Permalink
Browse files

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>
  • Loading branch information...
1 parent 6242fdc commit 98b8a37be835d50b71416acd6d285e1eb525b2a1 @hacker committed Jan 26, 2013
Showing with 11 additions and 11 deletions.
  1. +1 −3 .gitignore
  2. +9 −0 autogen.bash
  3. +0 −8 autogen.sh
  4. +1 −0 configure.ac
View
@@ -9,8 +9,6 @@ Makefile.in
/configure
/stamp-h1
/INSTALL
-/depcomp
-/install-sh
-/missing
/NEWS
TAGS
+/aux.d
View
@@ -0,0 +1,9 @@
+#!/bin/bash
+( cd "$(dirname "$0")" \
+&& mkdir -p aux.d \
+&& aclocal \
+&& autoheader \
+&& automake -a \
+&& autoconf \
+&& "$(dirname "$0")"/configure "$@" \
+)
View
@@ -1,8 +0,0 @@
-#!/bin/sh
-WANT_AUTOMAKE=1.8
-export WANT_AUTOMAKE
- aclocal \
-&& autoheader \
-&& automake -a \
-&& autoconf \
-&& ./configure "$@"
View
@@ -1,5 +1,6 @@
AC_INIT([iii], [0.3], [iii-bugs@klever.net])
AC_CONFIG_SRCDIR([src/iiid.cc])
+AC_CONFIG_AUX_DIR([aux.d])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([dist-bzip2])

0 comments on commit 98b8a37

Please sign in to comment.