[vala] build: Use separate directory for auxiliary build tools



commit b8589d581096529f518090534e302add8662ff6a
Author: Jürg Billeter <j bitron ch>
Date:   Fri Mar 12 19:56:57 2010 +0100

    build: Use separate directory for auxiliary build tools

 Makefile.am                                        |    4 ++--
 .../gitlog-to-changelog                            |    0
 configure.ac                                       |    1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 9615453..2f10aa9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,7 +66,7 @@ gen_start_date = 2009-02-25
 .PHONY: gen-ChangeLog
 gen-ChangeLog:
 	if test -d .git; then						\
-	  $(top_srcdir)/gitlog-to-changelog				\
+	  $(top_srcdir)/build-aux/gitlog-to-changelog			\
 	    --since=$(gen_start_date) > $(distdir)/cl-t;		\
 	  rm -f $(distdir)/ChangeLog;					\
 	  mv $(distdir)/cl-t $(distdir)/ChangeLog;			\
@@ -75,8 +75,8 @@ gen-ChangeLog:
 EXTRA_DIST = \
 	ChangeLog.pre-0-4 \
 	ChangeLog.pre-0-5-7 \
-	gitlog-to-changelog \
 	MAINTAINERS \
 	vala-1.0.pc.in \
+	build-aux/gitlog-to-changelog \
 	$(NULL)
 
diff --git a/gitlog-to-changelog b/build-aux/gitlog-to-changelog
similarity index 100%
rename from gitlog-to-changelog
rename to build-aux/gitlog-to-changelog
diff --git a/configure.ac b/configure.ac
index d25df43..4001e04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,6 @@
 AC_INIT([vala], [0.7.11], [j bitron ch], [vala])
 AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_HEADERS(config.h)
 AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE([dist-bzip2])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]