* Cleanups

git-svn-id: svn://svn.debian.org/svn/pkg-fedora-ds/freeipa/trunk@135 f06303cf-03cc-411c-aec6-58b7e4ec4d34
This commit is contained in:
mbaldessari-guest
2008-12-06 13:16:49 +00:00
parent 9a6d2f5509
commit 19e5855d17
5 changed files with 51 additions and 13 deletions

13
debian/rules vendored
View File

@@ -1,4 +1,4 @@
#!/usr/bin/make -f
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
@@ -56,10 +56,10 @@ unpatch:
install: $(PYVERS:%=install-%)
dh_testdir
dh_testroot
dh_clean -k
#dh_clean -k
dh_installdirs
@for subdir in $(SUBDIRS_ARCH) $(SUBDIRS_INDEP); do \
(cd $$subdir && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install) || exit 1; \
(cd $$subdir && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp pythondir=/usr/share/python-support/python-freeipa install) || exit 1; \
done
rm -f $(CURDIR)/debian/tmp/usr/share/ipa/ipagui/static/javascript/prototype.js \
$(CURDIR)/debian/tmp/usr/share/ipa/ipagui/static/javascript/scriptaculous.js
@@ -68,13 +68,11 @@ install: $(PYVERS:%=install-%)
install-%:
echo "Doing: $@"
@for subdir in "ipa-python"; do \
(cd $$subdir && $* setup.py build) || exit 1; \
done
@for subdir in "ipa-python"; do \
(cd $$subdir && $* setup.py install \
--no-compile \
--root $(CURDIR)/debian/tmp/usr/share/python-support/python-freeipa) || exit 1; \
--root $(CURDIR)/debian/tmp/ \
--install-lib /usr/share/python-support/python-freeipa/) || exit 1; \
done
binary-indep: build install
@@ -90,6 +88,7 @@ binary-arch: build install
dh_installman
dh_link
dh_pysupport
dh_python
dh_strip
dh_compress
dh_fixperms