summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-06-10 14:43:06 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-06-10 14:43:06 +0200
commit84736cfa351ec734f13cc0016f61108c81dc67e3 (patch)
tree739a60fa4d0cc81c4880424e6e0fa1675dcb5579
parent04080cf5a15382f577552fe4ce3e5202dfb24959 (diff)
include mo files in the right packages
-rw-r--r--debian/apt.install2
-rw-r--r--debian/libapt-inst1.2.install3
-rw-r--r--debian/libapt-pkg4.10.install3
-rwxr-xr-xdebian/rules4
4 files changed, 9 insertions, 3 deletions
diff --git a/debian/apt.install b/debian/apt.install
index ba57f7efa..9d4008fab 100644
--- a/debian/apt.install
+++ b/debian/apt.install
@@ -1,4 +1,4 @@
bin/apt-* usr/bin/
bin/methods/* usr/lib/apt/methods/
scripts/dselect/* usr/lib/dpkg/methods/apt/
-locale usr/share/
+usr/share/locale/*/*/apt.mo
diff --git a/debian/libapt-inst1.2.install b/debian/libapt-inst1.2.install
index 575199b53..b7b63be81 100644
--- a/debian/libapt-inst1.2.install
+++ b/debian/libapt-inst1.2.install
@@ -1 +1,2 @@
-bin/libapt-inst*.so.* usr/lib/ \ No newline at end of file
+bin/libapt-inst*.so.* usr/lib/
+usr/share/locale/*/*/libapt-inst*.mo
diff --git a/debian/libapt-pkg4.10.install b/debian/libapt-pkg4.10.install
index 571dc8478..91b39a31b 100644
--- a/debian/libapt-pkg4.10.install
+++ b/debian/libapt-pkg4.10.install
@@ -1 +1,2 @@
-bin/libapt-pkg*.so.* usr/lib/ \ No newline at end of file
+bin/libapt-pkg*.so.* usr/lib/
+usr/share/locale/*/*/libapt-pkg*.mo
diff --git a/debian/rules b/debian/rules
index fd894b73b..22eb82ca4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -97,6 +97,10 @@ build/configure-stamp: configure
build/build-stamp: build/configure-stamp
# Add here commands to compile the package.
$(MAKE) binary
+ # compat symlink for the locale split
+ mkdir -p build/usr/share
+ cd build/usr/share && ln -f -s ../../locale .
+ # done here
touch $@
build/build-doc-stamp: build/configure-stamp