[med-svn] [python-pyphlan] 03/05: Get files installed in place

Andreas Tille tille at debian.org
Fri May 27 13:05:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository python-pyphlan.

commit 2e7e01bac9a6a4256dc0db7d6ee29695919508af
Author: Andreas Tille <tille at debian.org>
Date:   Fri May 27 14:56:14 2016 +0200

    Get files installed in place
---
 debian/rules | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 478928c..47f78c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 
 # DH_VERBOSE := 1
 
+PYDEF=$(shell pyversions -vd)
+
 export PYBUILD_NAME=pyphlan
 export PYBUILD_SYSTEM=custom
 
@@ -10,7 +12,10 @@ export PYBUILD_SYSTEM=custom
 
 
 override_dh_auto_install:
-	dh_auto_install --system=custom --install-args='cp -a *.py debian/python-$(PYBUILD_NAME)/usr/lib/{interpreter}/$(PYBUILD_NAME)'
+	pybuild --system=custom -p $(PYDEF) --install \
+		--install-args='mkdir -p debian/python-$(PYBUILD_NAME)/usr/lib/{interpreter}/$(PYBUILD_NAME) ; \
+		                cp -a *.py debian/python-$(PYBUILD_NAME)/usr/lib/{interpreter}/$(PYBUILD_NAME)'
+#	dh_auto_install -- --after-install='cp -a *.py debian/python-$(PYBUILD_NAME)/usr/lib/{interpreter}/$(PYBUILD_NAME)'
 
 get-orig-source:
 	. debian/get-orig-source

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pyphlan.git



More information about the debian-med-commit mailing list