[liblinear] 82/123: Install Python files via .install, not rules

Christian Kastner chrisk-guest at moszumanska.debian.org
Tue Aug 26 03:42:12 UTC 2014


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

chrisk-guest pushed a commit to branch master
in repository liblinear.

commit c41205a80f02fc95130b24698afba9e12c9ef9d3
Author: Christian Kastner <debian at kvr.at>
Date:   Thu Apr 7 00:06:01 2011 +0200

    Install Python files via .install, not rules
---
 debian/python-liblinear.install | 2 ++
 debian/rules                    | 9 ---------
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/debian/python-liblinear.install b/debian/python-liblinear.install
new file mode 100644
index 0000000..c8d9399
--- /dev/null
+++ b/debian/python-liblinear.install
@@ -0,0 +1,2 @@
+python/liblinear.py usr/share/pyshared
+python/liblinearutil.py usr/share/pyshared
diff --git a/debian/rules b/debian/rules
index f68a778..a62f433 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,15 +39,6 @@ override_dh_makeshlibs:
 	dh_makeshlibs
 
 
-# This is temporary. See debian/python-liblinear.NEWS for a rationale.
-override_dh_install:
-	dh_install
-	cp python/linear.py \
-		debian/python-liblinear/usr/share/pyshared/liblinear.py
-	cp python/linearutil.py \
-		debian/python-liblinear/usr/share/pyshared/liblinearutil.py
-
-
 override_dh_compress:
 	dh_compress -Xexamples
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/liblinear.git



More information about the debian-science-commits mailing list