mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Allow setting of lib directory to correct non-rpm builds on x86_64.
With this patch you will need to run: make autogen LIBDIR=/usr/lib64 Also works for 'make all'.
This commit is contained in:
parent
24d5777bd6
commit
39dcd194ca
10
Makefile
10
Makefile
@ -35,18 +35,20 @@ CLI_VERSION=$(CLI_MAJOR).$(CLI_MINOR).$(CLI_RELEASE)
|
||||
CLI_TARBALL_PREFIX=$(PRJ_PREFIX)-client-$(CLI_VERSION)
|
||||
CLI_TARBALL=$(CLI_TARBALL_PREFIX).tgz
|
||||
|
||||
LIBDIR ?= /usr/lib
|
||||
|
||||
all: bootstrap-autogen
|
||||
@for subdir in $(SUBDIRS); do \
|
||||
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
|
||||
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
|
||||
cd ipa-server; if [ ! -e Makefile ]; then ./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=$(LIBDIR); fi
|
||||
cd ipa-client; if [ ! -e Makefile ]; then ./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=$(LIBDIR); fi
|
||||
|
||||
autogen:
|
||||
cd ipa-server; ./autogen.sh --prefix=/usr --sysconfdir=/etc;
|
||||
cd ipa-client; ./autogen.sh --prefix=/usr --sysconfdir=/etc;
|
||||
cd ipa-server; ./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=$(LIBDIR)
|
||||
cd ipa-client; ./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=$(LIBDIR)
|
||||
|
||||
configure:
|
||||
cd ipa-server; ./configure --prefix=/usr --sysconfdir=/etc
|
||||
|
Loading…
Reference in New Issue
Block a user