From 47cdf8b969bd86936e7422c744fb44c450278daa Mon Sep 17 00:00:00 2001 From: Michael Hanselmann Date: Wed, 18 Jul 2007 08:38:39 +0000 Subject: [PATCH] Add autogen.bash, move some files to config/ --- Makefile.am | 3 ++- autogen.sh | 17 +++++++++++++++++ configure.ac | 1 + 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100755 autogen.sh diff --git a/Makefile.am b/Makefile.am index 754e142..21a7c7d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,4 +13,5 @@ depgraph.ps: depgraph.dot dot -Tps -o $@ $< depgraph.dot: ganeti/*.py - pylint.python2.4 --indent-string ' ' --rcfile=/dev/null --reports y --int-import-graph $@ --persistent n ganeti >/dev/null + pylint.python2.4 --indent-string ' ' --rcfile=/dev/null \ + --reports y --int-import-graph $@ --persistent n ganeti >/dev/null diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..cdb14ff --- /dev/null +++ b/autogen.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +if test ! -f configure.ac ; then + echo "You must execute this script from the top level directory." + exit 1 +fi + +set -e + +rm -rf config.cache autom4te.cache +mkdir -p config + +aclocal-1.9 +autoconf +automake-1.9 --add-missing + +rm -rf autom4te.cache diff --git a/configure.ac b/configure.ac index eb82373..ec949ee 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,7 @@ AC_PREREQ(2.59) AC_INIT(ganeti, 1.2a, ganeti@googlegroups.com) +AC_CONFIG_AUX_DIR(config) AM_INIT_AUTOMAKE(foreign) # Checks for programs. -- 1.7.10.4