Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 98b8a37be835d50b71416acd6d285e1eb525b2a1 1 parent 6242fdc
@hacker authored
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
4 .gitignore
@@ -9,8 +9,6 @@ Makefile.in
/configure
/stamp-h1
/INSTALL
-/depcomp
-/install-sh
-/missing
/NEWS
TAGS
+/aux.d
View
9 autogen.bash
@@ -0,0 +1,9 @@
+#!/bin/bash
+( cd "$(dirname "$0")" \
+&& mkdir -p aux.d \
+&& aclocal \
+&& autoheader \
+&& automake -a \
+&& autoconf \
+&& "$(dirname "$0")"/configure "$@" \
+)
View
8 autogen.sh
@@ -1,8 +0,0 @@
-#!/bin/sh
-WANT_AUTOMAKE=1.8
-export WANT_AUTOMAKE
- aclocal \
-&& autoheader \
-&& automake -a \
-&& autoconf \
-&& ./configure "$@"
View
1  configure.ac
@@ -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])
Please sign in to comment.
Something went wrong with that request. Please try again.