mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
fix silly mistakes in rules
This commit is contained in:
parent
fd9f36175f
commit
73f24a0ad9
36
debian/rules
vendored
36
debian/rules
vendored
@ -10,50 +10,50 @@ export SUPPORTED_PLATFORM=debian
|
||||
|
||||
override_dh_auto_clean:
|
||||
rm -rf ipa-python/build
|
||||
for i in "ipa-server" "ipa-client"; do \
|
||||
(cd $$i && [ ! -f Makefile ] || $(MAKE) distclean); \
|
||||
(cd $$i && rm -f COPYING INSTALL depcomp install-sh missing py-compile config.guess config.sub aclocal.m4 config.h.in version.m4); \
|
||||
done
|
||||
# for i in "ipa-server" "ipa-client"; do \
|
||||
# (cd $$i && [ ! -f Makefile ] || $(MAKE) distclean); \
|
||||
# (cd $$i && rm -f COPYING INSTALL depcomp install-sh missing py-compile config.guess config.sub aclocal.m4 config.h.in version.m4); \
|
||||
# done
|
||||
find . -name "*.pyo" -o -name "*.pyc" -type f -exec rm -f "{}" \;
|
||||
find . -name "ltmain.sh" -exec rm -f "{}" \;
|
||||
find . -name "configure" -exec rm -f "{}" \;
|
||||
dh_clean
|
||||
rm -rf $(DESTDIR)
|
||||
|
||||
override_dh_autoreconf:
|
||||
cd ipa-client; dh_autoreconf; cd ..
|
||||
ifneq ($(ONLY_CLIENT),1)
|
||||
cd daemons; dh_autoreconf; cd ..
|
||||
cd install; dh_autoreconf; cd ..
|
||||
endif
|
||||
#override_dh_autoreconf:
|
||||
# dh_autoreconf; cd ..
|
||||
# ifneq ($(ONLY_CLIENT), 1)
|
||||
# cd daemons; dh_autoreconf; cd ..
|
||||
# cd install; dh_autoreconf; cd ..
|
||||
# endif
|
||||
|
||||
override_dh_auto_configure:
|
||||
$(MAKE) version-update
|
||||
cd ipa-client; dh_auto_configure; cd ..
|
||||
ifneq ($(ONLY_CLIENT),1)
|
||||
ifneq ($(ONLY_CLIENT), 1)
|
||||
cd daemons; dh_auto_configure --with-openldap; cd ..
|
||||
cd install; dh_auto_configure; cd ..
|
||||
endif
|
||||
endif
|
||||
|
||||
override_dh_auto_build:
|
||||
ifneq ($(ONLY_CLIENT),1)
|
||||
ifneq ($(ONLY_CLIENT), 1)
|
||||
make IPA_VERSION_IS_GIT_SNAPSHOT=no all
|
||||
cd selinux ; make all
|
||||
else
|
||||
else
|
||||
make IPA_VERSION_IS_GIT_SNAPSHOT=no client
|
||||
endif
|
||||
endif
|
||||
|
||||
override_dh_install:
|
||||
ifneq ($(ONLY_CLIENT),1)
|
||||
ifneq ($(ONLY_CLIENT), 1)
|
||||
# Force re-generate of platform support
|
||||
rm -f ipapython/services.py
|
||||
make install DESTDIR=$(DESTDIR)
|
||||
cd selinux
|
||||
make install DESTDIR=$(DESTDIR)
|
||||
cd ..
|
||||
else
|
||||
else
|
||||
make client-install DESTDIR=$(DESTDIR)
|
||||
endif
|
||||
endif
|
||||
|
||||
mkdir -p $(DESTDIR)/etc/ipa
|
||||
touch $(DESTDIR)/etc/ipa/default.conf
|
||||
|
Loading…
Reference in New Issue
Block a user