Code

configure.ac: use AC_CONFIG_AUX_DIR
authorMax Kellermann <max@duempel.org>
Sun, 28 Dec 2008 12:40:28 +0000 (13:40 +0100)
committerMax Kellermann <max@duempel.org>
Sun, 28 Dec 2008 12:40:28 +0000 (13:40 +0100)
Put lots of clutter into ./build/

autogen.sh
configure.ac

index e93a00eea06809625536296da54900ce9bfa3ae2..8c02d61ae60d1dc5c444e76f75d6efabb3258545 100755 (executable)
@@ -1,8 +1,7 @@
 #!/bin/sh -e
 
-# Generate config.h.in
-echo "touch stamp-h"
-touch stamp-h
+rm -rf config.cache build
+mkdir build
 
 # create po/Makefile.in.in
 glib-gettextize --force --copy
index 7b4b0178458285ba058437c8dcdad8b2621cfe92..24ed5037ff59d791d6f9cb6ab1e40d2afa4206c7 100644 (file)
@@ -1,6 +1,7 @@
 AC_PREREQ(2.60)
 AC_INIT(ncmpc, 0.13~git, max@duempel.org)
 AC_CONFIG_SRCDIR([src/main.c])
+AC_CONFIG_AUX_DIR(build)
 AM_INIT_AUTOMAKE([foreign 1.9 dist-bzip2])
 AM_CONFIG_HEADER([config.h])
 AC_CONFIG_MACRO_DIR([m4])