mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
various changes to enable server packaging
This commit is contained in:
13
debian/rules
vendored
13
debian/rules
vendored
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
export DH_VERBOSE=1
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
ONLY_CLIENT=1
|
||||
ONLY_CLIENT=0
|
||||
DESTDIR=$(CURDIR)/debian/tmp
|
||||
|
||||
PLATFORM="SUPPORTED_PLATFORM=debian"
|
||||
@@ -35,7 +35,7 @@ endif
|
||||
override_dh_auto_build:
|
||||
ifneq ($(ONLY_CLIENT), 1)
|
||||
make $(PLATFORM) IPA_VERSION_IS_GIT_SNAPSHOT=no all
|
||||
cd selinux ; make all
|
||||
# cd selinux ; make all
|
||||
else
|
||||
make $(PLATFORM) IPA_VERSION_IS_GIT_SNAPSHOT=no client
|
||||
endif
|
||||
@@ -49,8 +49,8 @@ ifneq ($(ONLY_CLIENT), 1)
|
||||
# Force re-generate of platform support
|
||||
rm -f ipapython/services.py
|
||||
make $(PLATFORM) IPA_VERSION_IS_GIT_SNAPSHOT=no install DESTDIR=$(DESTDIR)
|
||||
cd selinux
|
||||
make $(PLATFORM) IPA_VERSION_IS_GIT_SNAPSHOT=no install DESTDIR=$(DESTDIR)
|
||||
# cd selinux
|
||||
# make $(PLATFORM) IPA_VERSION_IS_GIT_SNAPSHOT=no install DESTDIR=$(DESTDIR)
|
||||
cd ..
|
||||
else
|
||||
make $(PLATFORM) IPA_VERSION_IS_GIT_SNAPSHOT=no client-install DESTDIR=$(DESTDIR)
|
||||
@@ -60,6 +60,9 @@ endif
|
||||
touch $(DESTDIR)/etc/ipa/default.conf
|
||||
mkdir -p $(DESTDIR)/var/lib/ipa-client/sysrestore
|
||||
|
||||
# purge .la files
|
||||
find $(CURDIR)/debian/tmp -name "*.la" -type f -exec rm -f "{}" \;
|
||||
|
||||
dh_install --list-missing
|
||||
|
||||
%:
|
||||
|
||||
Reference in New Issue
Block a user