Author: sascha-guest
Date: 2013-02-12 13:38:37 +0000 (Tue, 12 Feb 2013)
New Revision: 12985
Modified:
trunk/packages/genometools/trunk/debian/rules
Log:
simplify rules file for Python package
Modified: trunk/packages/genometools/trunk/debian/rules
===================================================================
--- trunk/packages/genometools/trunk/debian/rules 2013-02-11 18:55:40 UTC
(rev 12984)
+++ trunk/packages/genometools/trunk/debian/rules 2013-02-12 13:38:37 UTC
(rev 12985)
@@ -4,7 +4,6 @@
#export DH_VERBOSE=1
export DESTDIR=$(CURDIR)/debian/tmp
export DH_ALWAYS_EXCLUDE=.gitignore
-PYTHON=`which python`
BITS:=$(shell dpkg-architecture | grep DEB_BUILD_ARCH_BITS | cut -f 2 -d'=')
ifeq ($(BITS),64)
@@ -41,7 +40,7 @@
override_dh_auto_install:
dh_auto_install -- useshared=yes 64bit=$(64BIT) opt=no errorcheck=no
prefix=$(DESTDIR)/usr
- cd $(CURDIR)/gtpython && $(PYTHON) setup.py install
--install-layout=deb --prefix=$(DESTDIR)/usr
+ dh_auto_install --sourcedirectory=gtpython
override_dh_strip:
dh_strip --dbg-package=genometools-dbg
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit