From c54826653f7b77d68d5c12410b92303d3fc524aa Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 2 Nov 2007 11:34:02 -0400 Subject: 'make all' needs to depend on autogen.sh but we don't want to re-run it on every iteration. This lets the top-level 'make install' work properly. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8965c36a2..66eeeb119 100644 --- a/Makefile +++ b/Makefile @@ -35,14 +35,14 @@ CLI_VERSION=$(CLI_MAJOR).$(CLI_MINOR).$(CLI_RELEASE) CLI_TARBALL_PREFIX=$(PRJ_PREFIX)-client-$(CLI_VERSION) CLI_TARBALL=$(CLI_TARBALL_PREFIX).tgz -all: +all: autogen @for subdir in $(SUBDIRS); do \ (cd $$subdir && $(MAKE) $@) || exit 1; \ done autogen: - cd ipa-server; ./autogen.sh --prefix=/usr --sysconfdir=/etc - cd ipa-client; ./autogen.sh --prefix=/usr --sysconfdir=/etc + cd ipa-server; if [ ! -e Makefile ]; then ./autogen.sh --prefix=/usr --sysconfdir=/etc; fi + cd ipa-client; if [ ! -e Makefile ]; then ./autogen.sh --prefix=/usr --sysconfdir=/etc; fi configure: cd ipa-server; ./configure --prefix=/usr --sysconfdir=/etc -- cgit