Move config files to config directory (ac_aux_dir)
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 25 Mar 2014 02:43:59 +0000 (22:43 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 26 Mar 2014 22:53:53 +0000 (18:53 -0400)
Add empty .gitignore to config directory: to have an empty config directory
during export.

build-aux/.gitignore [new file with mode: 0644]
configure.ac

diff --git a/build-aux/.gitignore b/build-aux/.gitignore
new file mode 100644 (file)
index 0000000..e69de29
index 50f0943..6a7a62e 100644 (file)
@@ -1,12 +1,13 @@
 AC_PREREQ(2.52)
 
 AC_INIT(grip, 3.4.0, [http://sf.net/tracker/?group_id=3714&atid=103714])
+AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_SRCDIR(src/main.c)
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AM_SILENT_RULES([yes])
 
 AM_MAINTAINER_MODE
-AM_CONFIG_HEADER(config.h)
+AM_CONFIG_HEADER(config.h:config.h.in)
 
 AC_ARG_ENABLE(shared_cdpar,
        [  --disable-shared-cdpar  use static cdparanoia lib],
@@ -131,6 +132,7 @@ LIBS=$id3_libs_bak
 AC_SUBST(CFLAGS)
 AC_SUBST(CPPFLAGS)
 AC_SUBST(LDFLAGS)
+AC_SUBST(ac_aux_dir)
 
 AC_OUTPUT([
 Makefile