Your message dated Tue, 16 Jun 2009 15:59:04 +0200
with message-id <[email protected]>
and subject line Re: [Build-common-hackers] Bug#509263: cdbs: Create an option 
to pass arguments to dh_installman in the debhelper rule
has caused the Debian Bug report #509263,
regarding cdbs: Create an option to pass arguments to dh_installman in the 
debhelper rule
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
509263: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509263
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cdbs
Version: 0.4.52
Severity: wishlist

Hi,

This is from anjuta 2.24.2-1 debian/rules:

install/anjuta::
        # dh_installman is buggy and doesnt like dealing with manpage names
        # with periods in them.
        mkdir -p  debian/tmp/usr/share/man/man1/
        cp debian/anjuta_import.sh.1 debian/tmp/usr/share/man/man1/
        gzip -9 debian/tmp/usr/share/man/man1/anjuta_import.sh.1

That is a workaround for CDBS' debhelper rule not allowing to pass arguments to 
dh_installman.
In this case, we would need to pass it '--language=C', as documented in 
dh_installman(1).

The attached patch allows the use of DEB_INSTALL_MANPAGES_ARGS_ALL and 
DEB_INSTALL_MANPAGES_ARGS_$(cdbs_curpkg).

Thanks,
Emilio

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cdbs depends on:
ii  debhelper                     7.0.17     helper programs for debian/rules

Versions of packages cdbs recommends:
ii  autotools-dev                 20080123.2 Update infrastructure for config.{

Versions of packages cdbs suggests:
ii  devscripts                    2.10.43    scripts to make the life of a Debi
ii  doc-base                      0.8.18     utilities to manage online documen

-- no debconf information
--- /usr/share/cdbs/1/rules/debhelper.mk        2008-04-01 11:51:40.000000000 
+0200
+++ /usr/share/cdbs/1/rules/debhelper.mk.new    2008-12-20 14:56:10.000000000 
+0100
@@ -167,7 +167,7 @@ $(patsubst %,binary/%,$(DEB_ALL_PACKAGES
 $(patsubst %,binary-install/%,$(DEB_ALL_PACKAGES)) :: binary-install/%:
        dh_installdocs -p$(cdbs_curpkg) $(DEB_INSTALL_DOCS_ALL) 
$(DEB_INSTALL_DOCS_$(cdbs_curpkg)) 
        dh_installexamples -p$(cdbs_curpkg) 
$(DEB_INSTALL_EXAMPLES_$(cdbs_curpkg))
-       dh_installman -p$(cdbs_curpkg) $(DEB_INSTALL_MANPAGES_$(cdbs_curpkg)) 
+       dh_installman -p$(cdbs_curpkg) $(DEB_INSTALL_MANPAGES_ARGS_ALL) 
$(DEB_INSTALL_MANPAGES_ARGS_$(cdbs_curpkg)) 
$(DEB_INSTALL_MANPAGES_$(cdbs_curpkg))
        dh_installinfo -p$(cdbs_curpkg) $(DEB_INSTALL_INFO_$(cdbs_curpkg)) 
        dh_installmenu -p$(cdbs_curpkg) $(DEB_DH_INSTALL_MENU_ARGS)
        dh_installcron -p$(cdbs_curpkg) $(DEB_DH_INSTALL_CRON_ARGS)

--- End Message ---
--- Begin Message ---
Peter Eisentraut escribió:
> On Saturday 20 December 2008 16:14:19 Emilio Pozuelo Monfort wrote:
>> That is a workaround for CDBS' debhelper rule not allowing to pass
>> arguments to dh_installman. In this case, we would need to pass it
>> '--language=C', as documented in dh_installman(1).
>>
>> The attached patch allows the use of DEB_INSTALL_MANPAGES_ARGS_ALL and
>> DEB_INSTALL_MANPAGES_ARGS_$(cdbs_curpkg).
> 
> What is wrong with using the DEB_INSTALL_MANPAGES_$(cdbs_curpkg) that is 
> already there?

Meh, that works fine. I don't know why I didn't try it when making this patch,
but it would have certainly helped if it was documented in cdbs-doc.html

Cheers,
Emilio

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to