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
60
debian/rules
vendored
60
debian/rules
vendored
@ -10,50 +10,50 @@ export SUPPORTED_PLATFORM=debian
|
|||||||
|
|
||||||
override_dh_auto_clean:
|
override_dh_auto_clean:
|
||||||
rm -rf ipa-python/build
|
rm -rf ipa-python/build
|
||||||
for i in "ipa-server" "ipa-client"; do \
|
# for i in "ipa-server" "ipa-client"; do \
|
||||||
(cd $$i && [ ! -f Makefile ] || $(MAKE) distclean); \
|
# (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); \
|
# (cd $$i && rm -f COPYING INSTALL depcomp install-sh missing py-compile config.guess config.sub aclocal.m4 config.h.in version.m4); \
|
||||||
done
|
# done
|
||||||
find . -name "*.pyo" -o -name "*.pyc" -type f -exec rm -f "{}" \;
|
find . -name "*.pyo" -o -name "*.pyc" -type f -exec rm -f "{}" \;
|
||||||
find . -name "ltmain.sh" -exec rm -f "{}" \;
|
find . -name "ltmain.sh" -exec rm -f "{}" \;
|
||||||
find . -name "configure" -exec rm -f "{}" \;
|
find . -name "configure" -exec rm -f "{}" \;
|
||||||
dh_clean
|
dh_clean
|
||||||
rm -rf $(DESTDIR)
|
rm -rf $(DESTDIR)
|
||||||
|
|
||||||
override_dh_autoreconf:
|
#override_dh_autoreconf:
|
||||||
cd ipa-client; dh_autoreconf; cd ..
|
# dh_autoreconf; cd ..
|
||||||
ifneq ($(ONLY_CLIENT),1)
|
# ifneq ($(ONLY_CLIENT), 1)
|
||||||
cd daemons; dh_autoreconf; cd ..
|
# cd daemons; dh_autoreconf; cd ..
|
||||||
cd install; dh_autoreconf; cd ..
|
# cd install; dh_autoreconf; cd ..
|
||||||
endif
|
# endif
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
$(MAKE) version-update
|
$(MAKE) version-update
|
||||||
cd ipa-client; dh_auto_configure; cd ..
|
cd ipa-client; dh_auto_configure; cd ..
|
||||||
ifneq ($(ONLY_CLIENT),1)
|
ifneq ($(ONLY_CLIENT), 1)
|
||||||
cd daemons; dh_auto_configure --with-openldap; cd ..
|
cd daemons; dh_auto_configure --with-openldap; cd ..
|
||||||
cd install; dh_auto_configure; cd ..
|
cd install; dh_auto_configure; cd ..
|
||||||
endif
|
endif
|
||||||
|
|
||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
ifneq ($(ONLY_CLIENT),1)
|
ifneq ($(ONLY_CLIENT), 1)
|
||||||
make IPA_VERSION_IS_GIT_SNAPSHOT=no all
|
make IPA_VERSION_IS_GIT_SNAPSHOT=no all
|
||||||
cd selinux ; make all
|
cd selinux ; make all
|
||||||
else
|
else
|
||||||
make IPA_VERSION_IS_GIT_SNAPSHOT=no client
|
make IPA_VERSION_IS_GIT_SNAPSHOT=no client
|
||||||
endif
|
endif
|
||||||
|
|
||||||
override_dh_install:
|
override_dh_install:
|
||||||
ifneq ($(ONLY_CLIENT),1)
|
ifneq ($(ONLY_CLIENT), 1)
|
||||||
# Force re-generate of platform support
|
# Force re-generate of platform support
|
||||||
rm -f ipapython/services.py
|
rm -f ipapython/services.py
|
||||||
make install DESTDIR=$(DESTDIR)
|
make install DESTDIR=$(DESTDIR)
|
||||||
cd selinux
|
cd selinux
|
||||||
make install DESTDIR=$(DESTDIR)
|
make install DESTDIR=$(DESTDIR)
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
make client-install DESTDIR=$(DESTDIR)
|
make client-install DESTDIR=$(DESTDIR)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
mkdir -p $(DESTDIR)/etc/ipa
|
mkdir -p $(DESTDIR)/etc/ipa
|
||||||
touch $(DESTDIR)/etc/ipa/default.conf
|
touch $(DESTDIR)/etc/ipa/default.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user