Bug#823689: hlibrary.mk: libghc-*-doc.links files not respected

Joachim Breitner nomeata at debian.org
Mon May 9 14:59:33 UTC 2016


Hi,

Am Samstag, den 07.05.2016, 16:31 -0700 schrieb Sean Whitton:
> hlibrary.mk doesn't appear to do anything directly with
> changelogs.  So
> I think that something else it does is breaking CDBS's standard call to
> dh_installchangelogs.  But looking at
> /usr/share/cdbs/1/rules/debhelper.mk I can't see what that would be.

it runs
    run rm -f debian/libghc-${CABAL_PACKAGE}-doc.links debian/libghcjs-${CABAL_PACKAGE}-doc.links
which in clean, which explains the problem, and writes to the file in
the install target for the -dev package.

    if [ "${DEB_ENABLE_HOOGLE}" = "yes" ]
    then
        run find debian/${PKG}/${htmldir} -name "*.txt" \
            -printf "%p ${hoogle}/${PKG}.txt\n" >> debian/lib${hc}-${CABAL_PACKAGE}-doc.links
        run sed -i s,^debian/lib${hc}-${CABAL_PACKAGE}-doc,, debian/lib${hc}-${CABAL_PACKAGE}-doc.links
    fi

What is a saner way of doing this? Calling dh_link directly with all
required links as arguments?

Greetings,
Joachim

-- 
Joachim “nomeata” Breitner
Debian Developer
  nomeata at debian.orghttps://people.debian.org/~nomeata
  XMPP: nomeata at joachim-breitner.de • GPG-Key: 0xF0FBF51F
  https://www.joachim-breitner.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20160509/01bb8f9e/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list