mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Make it possible to force the running of autogen.
With the change to run autogen on make all if there was no makefile present, it became impossible to force the running of autogen when that is needed. Fix that by adding a bootstrap-autogen target that checks the existing of Makefiles and reverting the autogen target to always run autogen.
This commit is contained in:
8
Makefile
8
Makefile
@@ -35,15 +35,19 @@ CLI_VERSION=$(CLI_MAJOR).$(CLI_MINOR).$(CLI_RELEASE)
|
||||
CLI_TARBALL_PREFIX=$(PRJ_PREFIX)-client-$(CLI_VERSION)
|
||||
CLI_TARBALL=$(CLI_TARBALL_PREFIX).tgz
|
||||
|
||||
all: autogen
|
||||
all: bootstrap-autogen
|
||||
@for subdir in $(SUBDIRS); do \
|
||||
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
|
||||
autogen:
|
||||
bootstrap-autogen:
|
||||
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
|
||||
|
||||
autogen:
|
||||
cd ipa-server; ./autogen.sh --prefix=/usr --sysconfdir=/etc;
|
||||
cd ipa-client; ./autogen.sh --prefix=/usr --sysconfdir=/etc;
|
||||
|
||||
configure:
|
||||
cd ipa-server; ./configure --prefix=/usr --sysconfdir=/etc
|
||||
cd ipa-client; ./configure --prefix=/usr --sysconfdir=/etc
|
||||
|
||||
Reference in New Issue
Block a user