On Thu, Jan 07, 2016 at 02:31:41PM +0000, Mattia Rizzolo wrote:
> I tried to do this, you can find attached a patch that seems to do this
> transition correctly.

I clearly missed the patch, sorry.
Attached here.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
diff --git a/debian/librep-dbg.maintscript b/debian/librep-dbg.maintscript
new file mode 100644
index 0000000..5598c93
--- /dev/null
+++ b/debian/librep-dbg.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/librep-dbg /usr/share/doc/librep9 0.92.5-1~
diff --git a/debian/librep-dev.maintscript b/debian/librep-dev.maintscript
new file mode 100644
index 0000000..1c1696e
--- /dev/null
+++ b/debian/librep-dev.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/librep-dev /usr/share/doc/librep9 0.92.5-1~
diff --git a/debian/rep.links b/debian/rep.links
deleted file mode 100644
index 9ea2bf6..0000000
--- a/debian/rep.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/doc/librep16 usr/share/doc/rep
diff --git a/debian/rep.maintscript b/debian/rep.maintscript
new file mode 100644
index 0000000..36a4c79
--- /dev/null
+++ b/debian/rep.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/rep /usr/share/doc/librep9 0.92.5-1~
diff --git a/debian/rules b/debian/rules
index 8a9862b..5034c4d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,8 +16,6 @@ rep_extras = debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/rep 
debian/tmp/usr/share/r
 
 dh_install_auto = xargs dh_install --autodest
 
-libname = $(shell dh_listpackages | grep librep | head -n 1)
-
 %:
        dh $@ --with autoreconf
 
@@ -30,11 +28,8 @@ override_dh_auto_configure:
 override_dh_auto_build:
        env LC_ALL=C dh_auto_build
 
-override_dh_installdocs:
-       dh_installdocs --link-doc=$(libname)
-
 override_dh_installchangelogs:
-       dh_installchangelogs -p$(libname) NEWS
+       dh_installchangelogs NEWS
 
 override_dh_install:
        dh_install

Attachment: signature.asc
Description: PGP signature

Reply via email to