mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
* 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:
13
debian/rules
vendored
13
debian/rules
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user