[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_installman mv errors



On 2019-10-30 22:27 -0700, Matthew Fernandez wrote:

> As it turns out, there was mail from Colin Watson sitting in my spam folder
> that explained the situation as a dh_installman bug [4]. Colin, you
> describe this as a man-recode problem but your description actually makes
> it sound like a bug in my packaging.

Not to me, where did you get this impression?

> I should remove debian/rumur.manpages, right?

I don't think that is a particularly good idea.  At least you want to
keep ast-dump/doc/rumur-ast-dump.1 in debian/rumur.manpages, because
this file is apparently not installed otherwise.

Attached is a suitable (IMHO) workaround that you can apply until
#943705 is fixed.

> Why do you describe this as a regression?

It is a regression in dh_installman, because this worked before the
man-recode introduction.

Cheers,
       Sven

diff --git a/debian/rules b/debian/rules
index 8b43d22..5376959 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,3 +12,8 @@ export RUMUR_VERSION=v2019.10.27-1

 %:
 	dh $@
+
+# Workaround for https://bugs.debian.org/943705
+override_dh_installman:
+	find debian/rumur/usr/share/man -type f -name "*.gz" -exec gunzip -f '{}' +
+	dh_installman

Reply to: