summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-05-09 21:55:32 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-05-09 21:55:32 +0200
commit66b6fe055a0604d2a8372e61032e492f88f49f86 (patch)
tree7212fd3f06aeef86c65c514d872329e1dfcd42fa
parentb57c0e355d7f27a74c860ed73700cf9241cb4e61 (diff)
fix package building so 'dump' is a binary not a directory
-rw-r--r--debian/apt-utils.dirs2
-rw-r--r--debian/apt-utils.install1
-rwxr-xr-xdebian/rules2
3 files changed, 3 insertions, 2 deletions
diff --git a/debian/apt-utils.dirs b/debian/apt-utils.dirs
index 14f5b95d7..681e55192 100644
--- a/debian/apt-utils.dirs
+++ b/debian/apt-utils.dirs
@@ -1,2 +1,2 @@
-usr/lib
+usr/lib/apt/solvers
usr/bin
diff --git a/debian/apt-utils.install b/debian/apt-utils.install
index 0c72bfdc8..d947f26d4 100644
--- a/debian/apt-utils.install
+++ b/debian/apt-utils.install
@@ -1,2 +1 @@
bin/libapt-inst*.so.* usr/lib/
-bin/apt-dump-solver usr/lib/apt/solvers/dump
diff --git a/debian/rules b/debian/rules
index 77a7b4fdb..c83796e03 100755
--- a/debian/rules
+++ b/debian/rules
@@ -236,8 +236,10 @@ apt-utils: build
dh_installdirs -p$@
cp $(addprefix $(BLD)/bin/apt-,$(APT_UTILS)) debian/$@/usr/bin/
+ cp $(BLD)/bin/apt-dump-solver debian/$@/usr/lib/apt/solvers/dump
dh_install -p$@ --sourcedir=$(BLD)
+ dh_link -p$@
dh_installdocs -p$@
dh_installexamples -p$@