mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
* Updates
git-svn-id: svn://svn.debian.org/svn/pkg-fedora-ds/freeipa/trunk@132 f06303cf-03cc-411c-aec6-58b7e4ec4d34
This commit is contained in:
parent
66a9678c84
commit
7297a938e0
20
debian/rules
vendored
20
debian/rules
vendored
@ -12,12 +12,16 @@ export DH_OPTIONS
|
||||
PYVERS=$(shell pyversions -vr)
|
||||
|
||||
patch: patch-stamp
|
||||
echo "Doing: $@"
|
||||
patch-stamp:
|
||||
echo "Doing: $@"
|
||||
dpatch apply-all
|
||||
dpatch cat-all >patch-stamp
|
||||
|
||||
configure: configure-stamp
|
||||
echo "Doing: $@"
|
||||
configure-stamp: patch
|
||||
echo "Doing: $@"
|
||||
dh_testdir
|
||||
$(MAKE) IPA_VERSION_IS_GIT_SNAPSHOT=no version-update
|
||||
cd ipa-server; libtoolize --copy --force; aclocal; autoheader; automake --add-missing --gnu; autoconf; ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib
|
||||
@ -25,17 +29,18 @@ configure-stamp: patch
|
||||
touch $@
|
||||
|
||||
build: build-stamp
|
||||
echo "Doing: $@"
|
||||
build-stamp: configure-stamp
|
||||
echo "Doing: $@"
|
||||
@for subdir in $(SUBDIRS_ARCH); do \
|
||||
(cd $$subdir && $(MAKE)) || exit 1; \
|
||||
done
|
||||
@for subdir in "ipa-python"; do \
|
||||
(cd $$subdir && python setup.py build) || exit 1; \
|
||||
done
|
||||
touch $@
|
||||
|
||||
clean: clean-patched unpatch
|
||||
echo "Doing: $@"
|
||||
clean-patched:
|
||||
echo "Doing: $@"
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-arch-stamp build-indep-stamp configure-stamp ipa-python/setup.py ipa-python/version.py RELEASE
|
||||
@ -52,10 +57,12 @@ clean-patched:
|
||||
dh_clean
|
||||
|
||||
unpatch:
|
||||
echo "Doing: $@"
|
||||
dpatch deapply-all
|
||||
rm -rf patch-stamp debian/patched
|
||||
|
||||
install: $(PYVERS:%=install-python%)
|
||||
echo "Doing: $@"
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
@ -69,6 +76,10 @@ install: $(PYVERS:%=install-python%)
|
||||
dh_install
|
||||
|
||||
install-python%:
|
||||
echo "Doing: $@"
|
||||
@for subdir in "ipa-python"; do \
|
||||
(cd $$subdir && python$* setup.py build) || exit 1; \
|
||||
done
|
||||
@for subdir in "ipa-python"; do \
|
||||
(cd $$subdir && python$* setup.py install \
|
||||
--no-compile \
|
||||
@ -78,8 +89,10 @@ install-python%:
|
||||
#-dpkg --compare-versions '$*' lt '2.5' && rm -f $(CURDIR)/debian/$(package)/usr/lib/python$*/site-packages/beaker/ext/google.py
|
||||
|
||||
binary-indep: build install
|
||||
echo "Doing: $@"
|
||||
|
||||
binary-arch: build install
|
||||
echo "Doing: $@"
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs
|
||||
@ -101,4 +114,5 @@ binary-arch: build install
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
echo "Doing: $@"
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
||||
|
Loading…
Reference in New Issue
Block a user